mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-21 15:00:23 +00:00
Copy change
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
This commit is contained in:
parent
35caac013c
commit
abd5a5e4bd
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ description: Make any HTML element or Bootstrap component clickable by "stretchi
|
|||
group: utilities
|
||||
---
|
||||
|
||||
Adding the `.stretched-link` class to a link will make the [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block) of the `::after` pseudo element of the link clickable. In most cases, this means that an element with `position: relative;` which contains a link with the `.stretched-link` class is clickable.
|
||||
Add `.stretched-link` to a link to make it's [containing block](https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block) clickable via a `::after` pseudo element. In most cases, this means that an element with `position: relative;` that contains a link with the `.stretched-link` class is clickable.
|
||||
|
||||
Cards are relative by default, so in this case you can safely add the `.stretched-link` class to a link in the card.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue