⊗mkPmSlSP 73 of 250 menu

CSS Selector Priority

Let's say we have the following code:

p { color: red; } p { color: green; }

As you can see, the paragraphs are first set to red, and then below that to green. In this case, the second entry will override the first and the paragraphs will become green.

Tell me what size the headers will be after running the following code:

<h2>text</h2> h2 { font-size: 20px; } h2 { font-size: 30px; }
English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline