/*CSS calculate the specificity sample*/
<html> <head> <title>CSS calculate the specificity sample</title> </head> <body> <div id="sidebar"> <p id="first">Color?</p> </div> </body> </html>
#sidebar p:first-line { color: blue; } #sidebar p#first { color: red; }