Hello everyone! Hope u r doing great. So the thing is I still struggle with understanding CSS pseudo-elements. I don't understand how they work and...
For further actions, you may consider blocking this person and/or reporting abuse
hey there i just read it full and you did it great
Not only you but i also understood something from it🤓
By the way I had a question❓since long time that do we always need to position the pseudo elements, that is the ::after and ::before pseudo-elements ?🤔(not only in your case I am asking in general)
No we don't have to position them always. I did it because in button example i wanted to put it between the button and the span(button text) so it works like background to that button text.
And in link example i wanted to put the pseudo element below the link (like an underline). That's why i used the position options.
Thank you so much for quick response 🙏
Umm one more
The ::before pseudo element is behind the actual element and ::after pseudo element is in front of the actual element.
Is it true or false
Even in case of a paragraph styling and in case we are designing something as you did..( I hope you understood the question 😅😅)
Yes u r right. Lets say u have a h1 says 'hello world' and u put before and after pseudo elements to it then it will appear like this
before Hello world after.
This is a stupid example but hope u get my point😅
Ya sure i got you gaurav
Awesome!
Thank u!
I will need to add this to my portfolio
Great job
Thank u!
Wow that's really great and helpful, i wish u could do some stuff on animation. Thank you!