background square with one side at an angle [duplicate]
-
12-12-2019 - |
Solution
You could do it using borders: http://jsfiddle.net/wNhjb/
#shape {
height: 0;
width: 80px;
border-top: 80px solid blue;
border-left: 40px solid transparent;
}
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow