K
K
Konstantin Gulla2017-08-18 00:56:14
css
Konstantin Gulla, 2017-08-18 00:56:14

How to draw a small triangle to fit the entire width of the screen using CSS?

How to draw a small triangle to fit the entire width of the screen using CSS?
Example:
583a3c596bdd4739aa256f53db6e3bb5.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Sol, 2017-08-18
@NN-webmaster

Use relative units such as %or vw, vh.
https://jsfiddle.net/alex_sol/6vohdq7x/

R
Rheinmetall, 2017-08-18
@Rheinmetall

For example, use a generator

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question