A
A
ALEX nerd2022-04-08 03:36:30
css
ALEX nerd, 2022-04-08 03:36:30

How to make triangle without background in css?

Hello, please tell me how to make a triangle in css, with a transparent background like in the screenshot?624f8387bdd17921089617.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
ForSureN1, 2022-04-08
@ForSureN1

pull out the shape as svg or png :)

A
Alexander, 2022-04-08
@Aleksandr-JS-Developer

Don't fence the garden. CSS does not (yet) provide for triangles. You can dodge with the border or pseudo-elements, but this is done for very small triangles, where it is impractical to drag the icon.

for example

624fe75639f41165251058.png
Без понятия, почему первая ссылка на китайском, но треугольники подходящие

And you have a whole button. Make SVG-shkoy and do not complicate life for yourself and others)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question