Search
 
SCRIPT & CODE EXAMPLE
 

CSS

css nesting

<div>
	<p>hi</p>
</div>

div p { //selects all paragraphs inside div
  color: red;
}

div > p { //selects only direct child paragraphs of div (not further nested)
  color: red;
}
Comment

PREVIOUS NEXT
Code Example
Css :: padding left 
Css :: max width css 
Css :: purge tailwind css 
Css :: cta button css 
Css :: color gradient 
Css :: print zend db select query to string 
Css :: changong text color css 
Css :: html css templates for practice 
Css :: button hover 
Css :: youtube no related videos embed 
Css :: css make hover on parent child move 
Css :: css padding property 
Css :: css color codes 
Css :: css multiline comment 
Css :: how to give a background color strip in html and css 
Css :: css buchstaben auseinander weite 
Css :: hover effects css 
Css :: acf wysiwyg height 
Css :: CSS Height, Width and Max-width 
Css :: CSS The !important 
Css :: Deployer custom Options 
Css :: black background 
Css :: pyqt5 qresources 
Css :: Background Animation onHover 
Css :: box-sizing 
Css :: background image animation css codepen 
Css :: input disabled css 
Css :: css border sides 
Css :: display flex css 
Css :: How to enable horizontal scrolling of content in a webpage 
ADD CONTENT
Topic
Content
Source link
Name
8+3 =