how to draw a square in center of web page using css code example Example: how to create a shape in css div { clip-path: polygon(100% 100%, 100% 100%, 100% 100%) }