/*---------------------IMPORTANT INFORMATIONS ---------------------
Those buttons have been made to be compatible with all browsers in a lot of versions.
To use those buttons you need to choose 3 parameters :
- button template : rounded, semi-rounded, or quared button
- Border color : the color of the external stroke of the button
- button color : the color of the internal part of the button
You also have Serchfield + button, and socialbutton + icon possibilities
those 3 parameters will allow you to make endless possibilites of shapes and colors.
Then, you will be able to easly change radius size, button height and weight, font parameters ...
/!\ Some properties are repeated in each class; this have been made to allow you to use each class independently /!\
have fun, and contact me if you have any problem with this stuff (don't forget to rate if you like).*/
/*---------------------IMPORTANT GENERAL PARAMETERS---------------------*/
a {text-decoration: none;outline: none;}
a:visited {text-decoration: none;}
a:hover {text-decoration: none;}
a:active {text-decoration: none;}
/*---------------------BUTTONS TEMPLATE---------------------*/
/*rounded buttons*/
.roundedBorder {
width: 160px;
padding: 6px;
-moz-box-sizing:border-box; /*The box-sizing property allows you to define certain elements to fit an area in a certain way */
-webkit-box-sizing:border-box;
box-sizing:border-box;
-moz-border-radius: 30px; /* FF3.5+ */
-webkit-border-radius: 30px; /* Chrome,Safari3+ */
-o-border-radius: 30px; /* Opera 10.5+ */
border-radius: 30px; /* W3C */
}
.roundedInterior {
display: block;
height: 35px;
-moz-box-sizing:border-box; /*The box-sizing property allows you to define certain elements to fit an area in a certain way */
-webkit-box-sizing:border-box;
box-sizing:border-box;
font-size: 14px;
text-align: center;
line-height: 35px;
font-weight: bold;
font-family:helvetica,trebuchet MS,...
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.