Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"TEST Triangle Corners"
Bootstrap 3.1.0 Snippet by
mrmccormack
3.1.0
Preview
HTML
CSS
View Full Screen
Fork
Fork this
5.7K
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.1.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- http://stackoverflow.com/questions/20743172/custom-button-in-bootstrap --> <div class="container"> <div class="row"> <h2>TEST Triangle Corners</h2> <br> <a href="#" class="triangle">Today's Special</a> <hr> <!-- Standard button --> <button type="button" class="btn btn-default triangle">Default</button> <hr> <h3>Try to do YouTube videos with triangl, like gmail does</h3> <hr> <img class="" src="https://i1.ytimg.com/vi/zJahlKPCL9g/mqdefault.jpg" width="400" > <hr> <h4>Buttons Play from youtube cdn</h4> <hr> <img id=":1kn" class="aSM" src="//ssl.gstatic.com/docs/doclist/images/mediatype/icon_2_youtube_x16.png"> <br> <img id=":1kn" class="aSM" src="//ssl.gstatic.com/docs/doclist/images/mediatype/icon_2_youtube_x32.png"> <br> <img id=":1kn" class="aSM" src="//ssl.gstatic.com/docs/doclist/images/mediatype/icon_2_youtube_x128.png"> <br> </div> </div>
.triangle{ background-color:grey; color: white; font-weight: bold; padding: 10px 15px; text-decoration: none; font-family: Arial; position:relative } .triangle:after{ background:red; content: ""; position: absolute; bottom: 0px; right: 0px; border-width: 0px 0px 13px 13px; border-style: solid; border-color: #fff transparent; display: block; width: 0; } .triangle:hover{ background: grey; }
Related:
See More
Template
Vue Paper Dashboard 2 PRO
211.2K
318
Triangle Breadcrumbs Arrows
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76