aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-06-13 15:40:28 -0700
committerMark Otto <[email protected]>2020-06-14 13:52:54 -0700
commita6564588567a14ebc4bfa4e50358f1c32e3b10d7 (patch)
tree37b84533c45e6286d75918c9d0221895ec659ce2 /site
parentcde53a85d14d22b3eba6f96b7e01490848da047e (diff)
downloadbootstrap-a6564588567a14ebc4bfa4e50358f1c32e3b10d7.tar.xz
bootstrap-a6564588567a14ebc4bfa4e50358f1c32e3b10d7.zip
Run dist on latest
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.0/examples/floating-labels/floating-labels.css12
1 files changed, 12 insertions, 0 deletions
diff --git a/site/content/docs/5.0/examples/floating-labels/floating-labels.css b/site/content/docs/5.0/examples/floating-labels/floating-labels.css
index a9224c0d2..30daef63e 100644
--- a/site/content/docs/5.0/examples/floating-labels/floating-labels.css
+++ b/site/content/docs/5.0/examples/floating-labels/floating-labels.css
@@ -59,11 +59,23 @@ body {
color: transparent;
}
+.form-label-group input:not(:-moz-placeholder-shown) {
+ padding-top: 1.25rem;
+ padding-bottom: .25rem;
+}
+
.form-label-group input:not(:placeholder-shown) {
padding-top: 1.25rem;
padding-bottom: .25rem;
}
+.form-label-group input:not(:-moz-placeholder-shown) ~ label {
+ padding-top: .25rem;
+ padding-bottom: .25rem;
+ font-size: 12px;
+ color: #777;
+}
+
.form-label-group input:not(:placeholder-shown) ~ label {
padding-top: .25rem;
padding-bottom: .25rem;