mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): typo in lecture about styling special input elements (#60059)
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ Watch the video or read the transcript and answer the questions below.
|
||||
|
||||
Let's learn about some of the common issues when trying to style special input elements like the `datetime-local` and `color` inputs.
|
||||
|
||||
These special type of inputs rely on complex pseudo-elements to create things like the date and color pickers. This presents a significant challenge for styling these inputs. One challenge is that the default styling is entirely browser-dependent, so the CSS you write to make the picker look the way intend may be entirely different on another browser.
|
||||
These special types of inputs rely on complex pseudo-elements to create things like the date and color pickers. This presents a significant challenge for styling these inputs. One challenge is that the default styling is entirely browser-dependent, so the CSS you write to make the picker look the way intend may be entirely different on another browser.
|
||||
|
||||
Another may be the complexity of the pseudo-element. Consider the date selector; there are a lot of moving parts here and the complex structure of the pseudo-element might pose a significant challenge in applying styling to the right areas.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user