diff options
| author | vsn4ik <[email protected]> | 2017-09-08 03:06:02 +0300 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-09-09 17:01:48 -0700 |
| commit | 5da8ff61ad6dbe080f32f1bdc999466f247a3f7e (patch) | |
| tree | 3bcf2482929ddf071d1535ff667348011457428b /docs/4.0/components | |
| parent | aa5e97da044d774e4d1b5c54234cc8bf1ce862f5 (diff) | |
| download | bootstrap-5da8ff61ad6dbe080f32f1bdc999466f247a3f7e.tar.xz bootstrap-5da8ff61ad6dbe080f32f1bdc999466f247a3f7e.zip | |
Use CSS3 pseudo elements in documentation
Diffstat (limited to 'docs/4.0/components')
| -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. |
