Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS: Introduction of new CSS variables #39091

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Add stretched-link
  • Loading branch information
louismaximepiton committed Aug 23, 2023
commit 02ed5f24e320a76da9b04163134954b0d5dd8923
10 changes: 5 additions & 5 deletions scss/helpers/_stretched-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
.stretched-link {
&::#{$stretched-link-pseudo-element} {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: $stretched-link-z-index;
top: var(--#{$prefix}stretched-top, 0);
right: var(--#{$prefix}stretched-right, 0);
bottom: var(--#{$prefix}stretched-bottom, 0);
left: var(--#{$prefix}stretched-left, 0);
z-index: var(--#{$prefix}stretched-z-index, $stretched-link-z-index);
content: "";
}
}