Current date/time is June 30th 2022, 2:08 pm
Search found 1 match for 8C5
How to make buttons forum such as
- Code:
/* buttons */
a.button1, a.button2, button.button2, input.button1, input.button2, input[type="button"], input[type="submit"] {
color:#FFF !important;
font-weight:bold;
background:#8C5;
border:none !important;
border-radius:3px;
padding:5px 10px !important;
margin:3px;
-webkit-transition:300ms;
transition:300ms;
}
a.button1:hover, a.button2:hover, button.button2:hover, input.button1:hover, input.button2:hover, input[type="button"]:hover, input[type="submit"]:hover { background-color:#7B4 }
a.button1:focus, a.button2:focus, button.button2:focus, input.button1:focus, input.button2:focus, input[type="button"]:focus, input[type="submit"]:focus { background-color:#333 }
DEFAULT COLOR : #8C5
HOVER COLOR : #7B4
ACTIVE COLOR : #333
Replace the colors mentioned above in the CSS with whatever you want. A helpful tool to make it easier : http://www.colorpicker.com/
- on May 20th 2015, 12:02 pm
- Search in: Scripts Problems Archives
- Topic: How to make buttons forum such as
- Replies: 15
- Views: 1220