A
A
artmirarmi2018-01-25 05:40:03
ruby
artmirarmi, 2018-01-25 05:40:03

How to implement a triangle with border: solid on a div block?

Here is a block from the layout: The
5a69436f8fa8c678597786.png
question is how to make such a stroke of the triangle, and is it possible in principle, using css?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Alekseev, 2018-01-25
@shure348

as an option 2 triangles one under the other pseudo -elements
back one pixel more

M
Mike, 2018-01-25
@MikeKosulin

Use a shadow, not a border.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question