0
How do you make shapes in web
3 Antworten
+ 5
Kongpheng Lo here is an old code created in svg not css https://sololearn.com/compiler-playground/W9Lx7whv6fbE/?ref=app
and here is a css code help
https://sololearn.com/compiler-playground/WR5RD5v9RWdZ/?ref=app
+ 5
CSS shapes tutorial:
https://www.w3schools.com/howto/howto_css_shapes.asp
+ 1
<div class="triangle"></div>
<style>
.triangle {
width: 0;
height: 0;
border-left: 50px solid transparent;
border-right: 50px solid transparent;
border-bottom: 100px solid yellow;
}
</style>
Here is a example