0
[SOLVED] can s.o. help me! I have a small brain :'(
for some reason, I'm unable to make the input's "before" pseudo-element work https://github.com/brahim-radhoin/psychic-invention/blob/main/style/main.scss (line 91). I'm trying to make it react when hovered on, but the before element isn't even working. Please Help!!
2 Antworten
+ 5
before and after pseudo element aren't available for br, hr, img, input, select, textarea elements...
you should wrap the input in a span and apply before/after on it ;)
0
Thank you kind stranger <3