I’m trying to create a CSS snippet that marks each of my headers (H1-H6). For some reason, the code’s not working. My code is below, please tell me what I’m doing wrong.
h1::before {
content: "H1" !important;
font-size: 7pt !important;
vertical-align: middle !important;
display: inline !important;
}
h2::before {
content: "H2" !important;
font-size: 7pt !important;
vertical-align: middle !important;
display: inline !important;
}
h3::before {
content: "H3" !important;
font-size: 7pt !important;
vertical-align: middle !important;
display: inline !important;
}
h4::before {
content: "H4" !important;
font-size: 7pt !important;
vertical-align: middle !important;
display: inline !important;
}
h5::before {
content: "H5" !important;
font-size: 7pt !important;
vertical-align: middle !important;
display: inline !important;
}
h6::before {
content: "H6" !important;
font-size: 7pt !important;
vertical-align: middle !important;
display: inline !important;
}