Search
 
SCRIPT & CODE EXAMPLE
 

CSS

:is in css

:is(section, article, aside, nav) :is(h1, h2, h3, h4, h5, h6) {
  color: #BADA55;
}

/* ... which would be the equivalent of: */
section h1, section h2, section h3, section h4, section h5, section h6, 
article h1, article h2, article h3, article h4, article h5, article h6, 
aside h1, aside h2, aside h3, aside h4, aside h5, aside h6, 
nav h1, nav h2, nav h3, nav h4, nav h5, nav h6 {
  color: #BADA55;
}
Comment

css :is

// NO
section p b,
section p strong,
section span b,
section span strong {
	font-weight: 800;
}

// YES
:is(section) :is(p, span) :is(b, strong) {
	font-weight: 800;
}
Comment

PREVIOUS NEXT
Code Example
Css :: whats display block 
Css :: padding 
Css :: add tailwind to next 
Css :: generate css on scss save 
Css :: how to render css in flask 
Css :: circle progress bar css 
Css :: display flex vertical align center css 
Css :: css homepage 
Css :: css nearest neighbor 
Css :: symfony app css not working 
Css :: why grepper not always shows 
Css :: enque script only on specific archive page 
Css :: modificar la clase segun id que está dentro de un span css 
Css :: BEST PLACE TO FIND CSS CODES 
Css :: vertical multi color border css 
Css :: Ul or ol with no indent 
Css :: sub menu not showing horizontal css 
Css :: flex index css 
Css :: datatables when filtering snaps to top of page 
Css :: css selector data-entity-type 
Css :: html css psd 
Css :: css margin-top 1px 9 
Css :: à quoi sert clearfix 
Css :: CSS - The Descendant Selectors 
Css :: farther of genetics 
Css :: project in css transforms 
Css :: Create a addition element in center and rotate it 
Css :: dropdown dropdown-user nav-item work on 2 clicks 
Css :: htnl css 
Css :: tailwindcss class order 
ADD CONTENT
Topic
Content
Source link
Name
4+9 =