CSS - pseudo klasy :not()
kod |
wynik kodu |
<html>
<head>
<style type="text/css">
p {
color: blue;
}
:not(p) {
color: red;
}
</style>
</head>
<body>
<p>pory roku: wiosna, lato, jesień, zima</p>
<div>seasons: spring, summer, autumn, winter</div>
<b lang="de">die Jahreszeiten: Frühling, Sommer, Herbst, Winter</b>
<p>las estaciones del año: la primavera, el verano, el otoño, el invierno</p>
</body>
</html>
|
|