mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-19 16:54:24 +01:00
Prevent text selection in placeholder images (#28218)
This commit is contained in:
parent
94acdee691
commit
545f3fa921
@ -16,6 +16,10 @@
|
|||||||
.bd-placeholder-img {
|
.bd-placeholder-img {
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
text-anchor: middle;
|
text-anchor: middle;
|
||||||
|
-webkit-user-select: none;
|
||||||
|
-moz-user-select: none;
|
||||||
|
-ms-user-select: none;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
.bd-placeholder-img {
|
.bd-placeholder-img {
|
||||||
@include font-size(1.125rem);
|
@include font-size(1.125rem);
|
||||||
text-anchor: middle;
|
text-anchor: middle;
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-placeholder-img-lg {
|
.bd-placeholder-img-lg {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user