python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to center the text inside my :before pseudo element?
I have this custom bullet point type thing and I want to have the number centered inside a circle. I'm doing pretty good however I'm stuck at centering. I literally just want the text to go up by a co...
Saif eldeen Adel
Votes: 0
Answers: 2
How to change an element's font-family without affecting it's ::before or ::after?
A lot of sites use the ::before selector on an element to load icons via a client-downloaded font file, e.g.
div {
font: 14px/1 FontAwesome;
}
div::before {
content: "\f1c8";
}
Unf...

Jeff
Votes: 0
Answers: 2
Image divider above footer using ::before pseudo element
I am using Bootstrap (5) and have simple footer like this:
What I need is simple divider on top of it (above), adding 100px.
Check the fiddle here: https://jsfiddle.net/Ls1vhncx/5
How can I get the sa...
notnull
Votes: 0
Answers: 2
Stylelint selector-max-specificity: class::placeholder (0,0,1) doesn't but class:focus::placeholder (0,1,1) throws error with 0.2.0 max specificity
I am trying to reduce CSS specificity in my project by using the stylelint selector-max-specificity and I have now set it to "0.2.0". The problem is that when I use wonderful-input::placehol...

botana_dev
Votes: 0
Answers: 1