mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
Update site/docs/4.1/utilities/stretched-link.md
Co-Authored-By: MartijnCuppens <martijn.cuppens@gmail.com>
This commit is contained in:
parent
210d49ec05
commit
470145bdca
@ -35,7 +35,7 @@ Media objects do not have `position: relative` by default, so we need to add the
|
||||
{% endcapture %}
|
||||
{% include example.html content=example %}
|
||||
|
||||
Columns are relative by default, so if we want to stretch the link over a row, we need to add the `.position-static` class to column and add the `.position-relative` to the row.
|
||||
Columns are `position: relative` by default, so clickable columns only require the `.stretched-link` class on a link. However, stretching a link over an entire `.row` requires `.position-static` on the column and `.position-relative` on the row.
|
||||
|
||||
{% capture example %}
|
||||
<div class="row no-gutters bg-light position-relative">
|
||||
|
Loading…
Reference in New Issue
Block a user