diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2022-10-25 22:40:36 +0300 |
---|---|---|
committer | Patrick H. Lauke <redux@splintered.co.uk> | 2022-10-25 22:40:36 +0300 |
commit | ff90c4d7c7b87fb6dbb5afe98c2d0696e3108e24 (patch) | |
tree | 49c77f631414ded2bdd4fab44aaf190ac100b74a /site/assets | |
parent | 3e86fe4aec64de01823d8c9a1bfb729863a5a9de (diff) | |
parent | 65b3a75612c2cb0774d5d91e64decaa0ee957dd3 (diff) |
Merge branch 'patrickhlauke-docs-buttons-naked' of https://github.com/twbs/bootstrap into patrickhlauke-docs-buttons-nakedpatrickhlauke-docs-buttons-naked
Diffstat (limited to 'site/assets')
-rw-r--r-- | site/assets/scss/_component-examples.scss | 26 | ||||
-rw-r--r-- | site/assets/scss/_masthead.scss | 10 |
2 files changed, 36 insertions, 0 deletions
diff --git a/site/assets/scss/_component-examples.scss b/site/assets/scss/_component-examples.scss index f4865daf8a..8f39b2209a 100644 --- a/site/assets/scss/_component-examples.scss +++ b/site/assets/scss/_component-examples.scss @@ -302,6 +302,32 @@ min-height: 240px; } +.bd-example-zindex-levels { + min-height: 15rem; + + > div { + background-color: tint-color($bd-violet, 75%); + border: 1px solid tint-color($bd-violet, 50%); + } + + > :nth-child(2) { + top: 3rem; + left: 3rem; + } + > :nth-child(3) { + top: 4.5rem; + left: 4.5rem; + } + > :nth-child(4) { + top: 6rem; + left: 6rem; + } + > :nth-child(5) { + top: 7.5rem; + left: 7.5rem; + } +} + // // Code snippets // diff --git a/site/assets/scss/_masthead.scss b/site/assets/scss/_masthead.scss index 81d4d998cb..6a1d34de47 100644 --- a/site/assets/scss/_masthead.scss +++ b/site/assets/scss/_masthead.scss @@ -94,3 +94,13 @@ background-color: var(--bd-accent); box-shadow: inset 0 -1px 1px rgba(var(--bs-body-color-rgb), .15), 0 .25rem 1.5rem rgba(var(--bs-body-bg-rgb), .75); } + +.animate-img { + > img { + transition: .2s ease-in-out transform; // stylelint-disable-line property-disallowed-list + } + + &:hover > img { + transform: scale(1.1); + } +} |