Answer the question
In order to leave comments, you need to log in
Unable to draw a triangle. How to do it?
I can’t draw a triangle, I don’t understand what is wrong HERE . I would be very grateful for your help!
Answer the question
In order to leave comments, you need to log in
There are generators for creating triangles for a long time: apps.eky.hk/css-triangle-generator
The :before / :after pseudo-elements must have the property specified content: ''
, otherwise it will not be rendered.
You have exactly this case - add to :aftercontent: ''
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question