0
Why this after pesudo element doesn't appear
2 Respuestas
+ 6
Try this :
h1
{
position: relative;
}
h1::after
{
content: "";
border: 3em solid transparent;
border-color: transparent #777 transparent transparent;
position: absolute;
}
Hope this is the effect that you needed..
Your Mistakes :
you were selecting h which isnt any valid html tag .. i believe you ment h1 !
and closing brace } was missing
+ 1
Prashanth Kumar thanks it's work now