0
0
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:
Mark Otto 2018-12-15 20:17:45 +01:00 committed by GitHub
parent 210d49ec05
commit 470145bdca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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">