<div class=" selector selector_two">
<h2>[attr = value]</h2>
<a href="https://example.org" target="_blank">Yes, I'm😎</a>
<a href="#internal">Oops, I'm not😣</a>
</div>
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&family=Raleway:wght@200;300;400;500;600;700&display=swap");
* {
background: #000;
color: #fff;
font-size: 1.5rem;
font-family: "Raleway", sans-serif;
}
h2 {
font-size: 3rem;
background-image: linear-gradient(25deg, #002657, #662b54, #a9264f, #ec004a);
padding: 1em;
font-weight: 200;
font-size: 2rem;
}
.selector {
text-align: center;
padding: 100px 0 0 0;
}
/* 7 types of selectors */
/* [attr=value] */
a[href="https://example.org"]
{
color: green;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.