I cannot align this text correctly on mobile AND desktop. I can only do one or the other. I want the “last modified +date” to be aligned left on desktop and center on mobile. I tried the media function and it does not work!
.hero-date:before {
content: “Last Updated: “;
font-family: Inter, sans-serif;
font-weight: 700;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.1em;
line-height: 1em;
}
.hero-date{
content: “Last Updated: “;
font-family: Inter, sans-serif;
font-weight: 700;
text-transform: uppercase;
font-size: 12px;
letter-spacing: 0.1em;
line-height: 1em;
}