Answers for "html content in rectangle"

0

html content in rectangle

<style>
.rectangle{
padding-top: 40px;
  width:100px;
  height:100px;
  border:1px solid #000; 
  position: relative;
  text-align: center;
}
</style>

<div class="rectangle">Hello world!</div>
Posted by: Guest on July-26-2020

Browse Popular Code Answers by Language