Created
October 11, 2013 17:19
-
-
Save oriolrivera/6938576 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="es"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Varias columnas con css</title> | |
</head> | |
<style type="text/css"> | |
.colum { | |
-moz-column-count: 3; | |
-moz-column-gap: 20px; | |
-webkit-column-count: 3; | |
-webkit-column-gap : 20px; | |
-moz-column-rule-color: #ccc; | |
-moz-column-rule-style: solid; | |
-moz-column-rule-width: 1px; | |
-webkit-column-rule-color: #ccc; | |
-webkit-column-rule-style: solid ; | |
-webkit-column-rule-width: 1px; | |
} | |
</style> | |
<body> | |
<p class="colum"> | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Laudantium, autem, modi, voluptatem enim magni incidunt cumque repudiandae ipsam provident vitae optio beatae eligendi architecto natus laborum dolorem hic ullam quisquam. | |
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolores, inventore, laudantium, temporibus maiores assumenda adipisci saepe voluptas culpa nemo molestiae pariatur dolor. Quo, dolorem quae velit deleniti necessitatibus tempore quod. | |
</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Varias columnas solo con css