filmov
tv
Simple Selectors | CSS Selectors | Frontend Playlist

Показать описание
Simple selectors (select elements based on name, id, class). An element selector will select an HTML element by name. Using CSS we can select this p element, and style it however we like.
Let’s say we want to give the text a red color.
We’d do this by targeting the element using the p selector, a simple CSS rule to achieve this would be:
p {
color: red;
}
Note that this rule will target all p tags on our page. So if we have multiple paragraphs they’d all change to red.
We can select specific paragraphs using classes & id, which we’ll take a look at now.
Not only a text element we can select different elements also and apply the style properties like color, paddings, margins like all these concepts to all those tags and we can build search boxes.
Subscribe to our channel and hit the bell icon and never miss the update:
++++++++++++++Follow us ++++++++++++++++
About us:
CodeGnan offers courses in new technologies and niches that are gaining cult reach. This is to ensure that students understand the workflow from each and every perspective in a Real-Time environment. Students can train themselves and enrich their skillset in the best way possible.
We always used to believe in student-centric methods. Every student, if trained in a Real-Time environment can achieve more in their career. Hence, CodeGnan offers courses where students can access live environments and nourish themselves in the best way possible in order to increase their “CodeGnan”.
With Codegnan, you get an industry-recognized certificate with worldwide validity. You get to reach the heights of your career in a shorter period of time. With your skillset, you can find a place at any top company in India and worldwide. This will help you to improve your skillset like never before and get access to the top-level placement opportunities that are currently available.
CodeGnan offers courses in new technologies and makes sure students understand the flow of work from each and every perspective in a Real-Time environment.
#SimpleSelectors #CSSSelectors #FrontendPlaylist #Codegnan #CodegnanITSolutions #PythonTraining #MachineLearningTraining #DataScienceTraining #JavaTraining #OnlineTraining #FreeWebinars
Let’s say we want to give the text a red color.
We’d do this by targeting the element using the p selector, a simple CSS rule to achieve this would be:
p {
color: red;
}
Note that this rule will target all p tags on our page. So if we have multiple paragraphs they’d all change to red.
We can select specific paragraphs using classes & id, which we’ll take a look at now.
Not only a text element we can select different elements also and apply the style properties like color, paddings, margins like all these concepts to all those tags and we can build search boxes.
Subscribe to our channel and hit the bell icon and never miss the update:
++++++++++++++Follow us ++++++++++++++++
About us:
CodeGnan offers courses in new technologies and niches that are gaining cult reach. This is to ensure that students understand the workflow from each and every perspective in a Real-Time environment. Students can train themselves and enrich their skillset in the best way possible.
We always used to believe in student-centric methods. Every student, if trained in a Real-Time environment can achieve more in their career. Hence, CodeGnan offers courses where students can access live environments and nourish themselves in the best way possible in order to increase their “CodeGnan”.
With Codegnan, you get an industry-recognized certificate with worldwide validity. You get to reach the heights of your career in a shorter period of time. With your skillset, you can find a place at any top company in India and worldwide. This will help you to improve your skillset like never before and get access to the top-level placement opportunities that are currently available.
CodeGnan offers courses in new technologies and makes sure students understand the flow of work from each and every perspective in a Real-Time environment.
#SimpleSelectors #CSSSelectors #FrontendPlaylist #Codegnan #CodegnanITSolutions #PythonTraining #MachineLearningTraining #DataScienceTraining #JavaTraining #OnlineTraining #FreeWebinars