Struggling to ensure my custom <h2>
class remains responsive on mobile devices.
My goal is to have this h2
class adjust to a text size of 49px when viewed on a mobile device.
Here's what I have attempted so far:
@media screen and (min-width: 320px) {
h2.josh {
text-size:49px;
}
h2.josh {
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: black;
font-size: 79px;
color: white;
font-family: 'Oswald', sans-serif;
opacity: 0.9;
display: inline-block;
}
.dark-text{color: #1e1e1e}
body { padding-top: 0px !important; }