1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-31 09:05:47 +02:00

Home imports (#37318)

* Update docs homepage to use separate partials for each section

Also modifies the homepage code snippets under getting started to remove the code comments, making copy-pasting easier.

* Update some copy and examples

* newlines

* type button

* more code review, bring back interactive components

* fix hover
This commit is contained in:
Mark Otto
2022-10-22 16:51:44 -04:00
committed by GitHub
parent 39bbca5ddd
commit 538f50be5a
10 changed files with 382 additions and 357 deletions

View File

@@ -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);
}
}