<div class=" selector selector_one">
<h2>[attr] - Attribute Exsist</h2>
<a href="http://example.com" target="_blank">I'm External Link😎</a>
<a href="#internal">I'm internal link🙄</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;
}
h3,
h2 {
font-size: 3rem;
background-image: linear-gradient(25deg, #002657, #662b54, #a9264f, #ec004a);
padding: 1em;
font-weight: 200;
}
h2 {
font-size: 2rem;
}
.selector {
text-align: center;
padding: 100px 0;
}
/* 7 types of selectors */
/* attribute exists */
[target] {
color: orange;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.