Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.square {
  height: 50px;
  width: 50px;
  background-color: #555;
}
</style>
</head>
<body>
<h2>Square CSS</h2>
<div class="square"></div>
</body>
<!-- Mirrored from www.w3schools.com/howto/tryit.asp?filename=tryhow_css_shapes_square by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 05 Sep 2022 14:31:19 GMT -->
</html>