<a href="#" class="myButton">green</a>
.myButton {
background-color:#44c767;
border-radius:28px;
border:1px solid #18ab29;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:17px;
padding:8px 38px;
text-decoration:none;
text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
background-color:#5cbf2a;
}
.myButton:active {
position:relative;
top:1px;
}
<a href="#" class="myButton">purple</a>
.myButton {
box-shadow:inset 0px 1px 0px 0px #e184f3;
background:linear-gradient(to bottom, #c123de 5%, #a20dbd 100%);
background-color:#c123de;
border-radius:6px;
border:1px solid #a511c0;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:15px;
font-weight:bold;
padding:6px 24px;
text-decoration:none;
text-shadow:0px 1px 0px #9b14b3;
}
.myButton:hover {
background:linear-gradient(to bottom, #a20dbd 5%, #c123de 100%);
background-color:#a20dbd;
}
.myButton:active {
position:relative;
top:1px;
}
<a href="#" class="myButton">SOON</a>
.myButton {
background:linear-gradient(to bottom, #44c767 5%, #5cbf2a 100%);
background-color:#bd2e03;
border-radius:7px;
display:inline-block;
cursor:pointer;
color:#ffffff;
font-family:Arial;
font-size:17px;
padding:16px 31px;
text-decoration:none;
text-shadow:0px 1px 0px #2f6627;
}
.myButton:hover {
background:linear-gradient(to bottom, #5cbf2a 5%, #44c767 100%);
background-color:#5cbf2a;
}
.myButton:active {
position:relative;
top:1px;
}
<!-- The <button> tag produces a button. Place the text/media you want to be
on the button by placing it between the opening and closing tags: -->
<button>Click me!</button>
<!-- It is possible to add attributes, such as 'id' and 'type', into the
opening tag, just like most other elements: -->
<button id="submitButton" type="submit">Click here to submit!</button>
Code Example |
---|
Css :: Button CSS normal active hover |
Css :: mettre un element en avant css |
Css :: Heart Shape Html And Css |
Css :: auto zoom image css |
Css :: css after hover |
Css :: dropdown size based on text |
Css :: css line-through color |
Css :: font face html |
Css :: css radial gradients |
Css :: background origin css |
Css :: select all elements css |
Css :: Responsive Web Design - Videos |
Css :: how to disable keyboard in windows 10 |
Css :: rgba color css |
Css :: scroll snap css |
Css :: details transition css |
Css :: css selector last child |
Css :: button hover |
Css :: registration form in tailwind css |
Css :: How to make website responsive for safari |
Css :: tel css |
Css :: css animation sin |
Css :: how to give height equal to parent height css |
Css :: font weight numbers |
Css :: https request |
Css :: fluorescent blue hex code |
Css :: adding diffent style in firefox css |
Css :: display flex |
Css :: custom cursor css |
Css :: chrome extension css |