CSS Selectors

It explains How to use different signs (+,> and ~) in CSS selector and their differences. Before starting, let us take a sample code to understand the signs. <div id=”container”>               <p>First</p>     <div>         <p>Child Paragraph</p>     </div>    <p>Second</p>    <p>Third</p>      </div> div#container p{ font-weight:bold; } It is the descendant selector. It will target […]

Rate this: