aboutsummaryrefslogtreecommitdiff
path: root/docs/4.0/components
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2017-09-09 17:39:56 -0700
committerMark Otto <[email protected]>2017-09-09 17:39:56 -0700
commit9cd634fb46c261f731709b0ab2728d2fc35b8ec4 (patch)
tree5ca4a40b3154eda545d09a428d974b96c85bd64c /docs/4.0/components
parent6df1f5338b38ee7d6675ae179b865d14ea099df6 (diff)
parent1abafb36fed3842b050637fc6cedcad45480d8fb (diff)
downloadbootstrap-9cd634fb46c261f731709b0ab2728d2fc35b8ec4.tar.xz
bootstrap-9cd634fb46c261f731709b0ab2728d2fc35b8ec4.zip
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
Diffstat (limited to 'docs/4.0/components')
-rw-r--r--docs/4.0/components/forms.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/4.0/components/forms.md b/docs/4.0/components/forms.md
index c8e0f2bd7..1fe14ba19 100644
--- a/docs/4.0/components/forms.md
+++ b/docs/4.0/components/forms.md
@@ -1004,8 +1004,8 @@ Here's how it works:
- We wrap the `<input>` in a `<label>` so the custom control properly triggers the file browser.
- We hide the default file `<input>` via `opacity`.
-- We use `:after` to generate a custom background and directive (*Choose file...*).
-- We use `:before` to generate and position the *Browse* button.
+- We use `::after` to generate a custom background and directive (*Choose file...*).
+- We use `::before` to generate and position the *Browse* button.
- We declare a `height` on the `<input>` for proper spacing for surrounding content.
In other words, it's an entirely custom element, all generated via CSS.