Skip to content

Instantly share code, notes, and snippets.

@chrdesigner chrdesigner/README.md
Last active Apr 15, 2016

Embed
What would you like to do?
Borda Serrilhada Somente com CSS 3
background-repeat: repeat-x;
background-size: 25px 20px, 25px 20px;
blockquote:after {
content: "";
position: absolute;
display:block;
width: 100%;
height: 29px;
right: 0;
bottom: -24px;
left: 0;
background: -webkit-linear-gradient(45deg, transparent 70%, white 75%) 0 50%, -webkit-linear-gradient(130deg, transparent 70%, white 75%) 0 50%;
background: -moz-linear-gradient(-45deg, transparent 70%, white 75%) 0 50%, -moz-linear-gradient(45deg, transparent 70%, white 75%) 0 50%;
background: -o-linear-gradient(-45deg, transparent 70%, white 75%) 0 50%, -o-linear-gradient(45deg, transparent 70%, white 75%) 0 50%;
background: -ms-linear-gradient(-45deg, transparent 70%, white 75%) 0 50%, -ms-linear-gradient(45deg, transparent 70%, white 75%) 0 50%;
background: linear-gradient(-45deg, transparent 70%, white 75%) 0 50%, linear-gradient(45deg, transparent 70%, white 75%) 0 50%;
background-repeat: repeat-x;
background-size: 25px 20px, 25px 20px;
}
body {
font-family: Verdana;
background:url(http://www.chrdesigner.com/wp-content/themes/chrdesinger/images/backgrounds/bg-blog.jpg);
}
blockquote {
background: white;
min-width: 320px;
position: relative;
padding: 10px 5px;
margin: 0 10px;
text-align: center;
}
<blockquote>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec congue massa nec velit tincidunt tincidunt.
Sed sit amet ullamcorper tellus.
</blockquote>
background: linear-gradient(-45deg, transparent 70%, white 75%) 0 50%, linear-gradient(45deg, transparent 70%, white 75%) 0 50%;
-webkit-linear-gradient = /* WebKit browsers */
-moz-linear-gradient = /* Mozilla Firefox 4 to 18 */
-o-linear-gradient = /* Opera */
-ms-linear-gradient = /* Internet Explorer 10+ */
linear-gradient = /* Mozilla Firefox 19+ */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.