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 :: what is display block 
Css :: css color 
Css :: css display contents 
Css :: woocommerce cart css description 
Css :: sass example html 
Css :: css properties 
Css :: initialize toast 
Css :: grid all items same height 
Css :: css code for margin 
Css :: login and register files have no css laravel vue 
Css :: css3 app basic 
Css :: margin and padding setting for standard as usual website 
Css :: gmail auto rewize dont 
Css :: top 10 customers odoo 
Css :: how to use animista css in html 
Css :: Woocommerce product title + price over image (overlay) 
Css :: less variables vs css variables 
Css :: CSS Layout - width and max-width 
Css :: flex grow css 
Css :: select after not visible 
Css :: qgraphicsscene get viewport width 
Css :: How to write something inside image 
Css :: how to some of the list and show some in css 
Css :: fill div on hover 
Css :: sintask css 
Css :: css for floting input label 
Css :: tf.reduce_mean(y_true,y_predicted) 
Css :: look and feel 
Css :: css formes géométriques 
Css :: style50 for cs50 
ADD CONTENT
Topic
Content
Source link
Name
4+3 =