diff options
| author | Mark Otto <[email protected]> | 2017-09-09 17:39:56 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-09-09 17:39:56 -0700 |
| commit | 9cd634fb46c261f731709b0ab2728d2fc35b8ec4 (patch) | |
| tree | 5ca4a40b3154eda545d09a428d974b96c85bd64c /docs/4.0/components/forms.md | |
| parent | 6df1f5338b38ee7d6675ae179b865d14ea099df6 (diff) | |
| parent | 1abafb36fed3842b050637fc6cedcad45480d8fb (diff) | |
| download | bootstrap-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/forms.md')
| -rw-r--r-- | docs/4.0/components/forms.md | 4 |
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. |
