Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- div {
- width: 100px;
- height: 100px;
- /* Para deixar o texto centralizado na div,
- podemos colocar um line-height igual à altura
- dela. Só funciona bem se o texto tiver uma
- linha só.
- */
- line-height: 100px;
- text-align: center;
- font-size: 25px;
- }
- .container {
- width: 700px;
- }
- .primeiro {
- background-color: red;
- float: rigth;
- }
- .segundo {
- background-color: blue;
- float: right;
- }
- .terceiro {
- width: 200px;
- height: 200px;
- line-height: 200px;
- background-color: green;
- float:rigth;
- }
- .quarto {
- background-color: orange;
- }
- .quinto {
- background-color: magenta;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement