Answers for "Dropcap - :first-letter pseudo class not working as expected in firefox"

CSS
0

Dropcap - :first-letter pseudo class not working as expected in firefox

.dropcap:first-letter {
    font-size: 3em;
    float: left;
    margin-top: .15em;
    padding: 2px 20px;
    border-radius: 6px;
    margin-right: 15px;
    padding: 3px 22px;
}
@-moz-document url-prefix() {
.dropcap:first-letter {
padding: 15px 20px;
}
}

.dropcap.dc-bg-primary:first-letter {
    background-color: #1a73e9;
    color: #fff;
}
Posted by: Guest on July-24-2021

Code answers related to "Dropcap - :first-letter pseudo class not working as expected in firefox"

Browse Popular Code Answers by Language