fix(curriculum): typo in lecture about styling special input elements (#60059)

This commit is contained in:
Abhijeet Singh
2025-04-29 16:37:43 +05:30
committed by GitHub
parent c555f69883
commit 46425aa588
@@ -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.