how to create a shape in css

CSS
div {
	clip-path: polygon(100% 100%, 100% 100%, 100% 100%)
}
Source

Also in CSS: