html content in rectangle

Solutions on MaxInterview for html content in rectangle by the best coders in the world

showing results for - "html content in rectangle"
Elspeth
07 Jan 2018
1<style>
2.rectangle{
3padding-top: 40px;
4  width:100px;
5  height:100px;
6  border:1px solid #000; 
7  position: relative;
8  text-align: center;
9}
10</style>
11
12<div class="rectangle">Hello world!</div>