Buttons wip...

Size
4,057 Kb
Views
24,288

How do I make an buttons wip...?

What is a buttons wip...? How do you make a buttons wip...? This script and codes were developed by Renaud Tertrais on 12 August 2022, Friday.

Buttons wip... Previews

Buttons wip... - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Buttons wip...</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<h2>Styles</h2>
<table class="table"> <tr> <th>simple</th> <td> <button class="button--simple">default</button> </td> <td> <button class="button--simple hover">hover</button> </td> <td> <button class="button--simple active">active</button> </td> <td class="dark"> <button class="button--simple">on dark</button> </td> </tr> <tr> <th>classic</th> <td> <button class="button--classic">default</button> </td> <td> <button class="button--classic hover">hover</button> </td> <td> <button class="button--classic active">active</button> </td> <td class="dark"> <button class="button--classic">on dark</button> </td> </tr> <tr> <th>ghost</th> <td> <button class="button--ghost">default</button> </td> <td> <button class="button--ghost hover">hover</button> </td> <td> <button class="button--ghost active">active</button> </td> <td class="dark"> <button class="button--ghost">on dark</button> </td> </tr> <tr> <th>discret</th> <td> <button class="button--discret">default</button> </td> <td> <button class="button--discret hover">hover</button> </td> <td> <button class="button--discret active">active</button> </td> <td class="dark"> <button class="button--discret">on dark</button> </td> </tr> <tr> <th>real</th> <td> <button class="button--real">default</button> </td> <td> <button class="button--real hover">hover</button> </td> <td> <button class="button--real active">active</button> </td> <td class="dark"> <button class="button--real">on dark</button> </td> </tr> <tr> <th>relief</th> <td> <button class="button--relief">default</button> </td> <td> <button class="button--relief hover">hover</button> </td> <td> <button class="button--relief active">active</button> </td> <td class="dark"> <button class="button--relief">on dark</button> </td> </tr> <tr> <th>retro</th> <td> <button class="button--retro">default</button> </td> <td> <button class="button--retro hover">hover</button> </td> <td> <button class="button--retro active">active</button> </td> <td class="dark"> <button class="button--retro">on dark</button> </td> </tr>
</table>
</body>
</html>

Buttons wip... - Script Codes CSS Codes

* { box-sizing: border-box;
}
body { color: #555;
}
.table { border-collapse: collapse; text-align: center;
}
.table .dark { background-color: #555;
}
body { font-family: Helvetica, sans-serif; font-size: 16px;
}
button { margin: 10px;
}
.button--classic, .button--simple, .button--ghost, .button--discret, .button--real, .button--relief, .button--retro { display: inline-block; padding: .4em 1em; text-align: center; font: inherit; cursor: pointer; line-height: 1.6; outline: 0; transition: all .1s;
}
.button--classic > *, .button--simple > *, .button--ghost > *, .button--discret > *, .button--real > *, .button--relief > *, .button--retro > * { display: inline-block; vertical-align: middle; text-align: left; line-height: 1.2;
}
.button--classic > .icon, .button--simple > .icon, .button--ghost > .icon, .button--discret > .icon, .button--real > .icon, .button--relief > .icon, .button--retro > .icon { margin-left: .5em; margin-right: .5em; font-size: 1.2em;
}
.button--classic > .icon:first-child, .button--simple > .icon:first-child, .button--ghost > .icon:first-child, .button--discret > .icon:first-child, .button--real > .icon:first-child, .button--relief > .icon:first-child, .button--retro > .icon:first-child { margin-left: 0;
}
.button--classic > .icon:last-child, .button--simple > .icon:last-child, .button--ghost > .icon:last-child, .button--discret > .icon:last-child, .button--real > .icon:last-child, .button--relief > .icon:last-child, .button--retro > .icon:last-child { margin-right: 0;
}
.button--classic { border-radius: 4px; border: 1px solid #777777; background-color: #AAA; color: #FFF;
}
.button--classic:hover, .button--classic.hover { background-color: #b9b9b9; border-color: #868686; color: #FFF;
}
.button--classic:active, .button--classic.active { background-color: #9b9b9b; border-color: #686868; color: #FFF;
}
.button--simple { border-radius: 4px; border: 0; background-color: #AAA; color: #FFF;
}
.button--simple:hover, .button--simple.hover { background-color: #b9b9b9; color: #FFF;
}
.button--simple:active, .button--simple.active { background-color: #9b9b9b; color: #FFF;
}
.button--ghost { border-radius: 4px; border: 1px solid #AAA; background-color: transparent; color: #AAA;
}
.button--ghost:hover, .button--ghost.hover { background-color: #AAA; color: #FFF; border-color: #AAA;
}
.button--ghost:active, .button--ghost.active { background-color: #9b9b9b; color: #FFF; border-color: #9b9b9b; box-shadow: inset 0 0 0 1.5em #9b9b9b;
}
.button--discret { border-radius: 4px; color: #AAA; border: 1px solid transparent; background-color: transparent;
}
.button--discret:hover, .button--discret.hover { border-color: #AAA;
}
.button--discret:active, .button--discret.active { border-color: #AAA; background-color: #AAA; color: #FFF;
}
.button--real { border-radius: 4px; color: #FFF; border: 1px solid #8b8b8b; background: linear-gradient(#b9b9b9, #AAA, #9b9b9b);
}
.button--real:hover, .button--real.hover { color: #FFF; border: 1px solid #7c7c7c; background: linear-gradient(#AAA, #AAA, #AAA);
}
.button--real:active, .button--real.active { color: #FFF; border: 1px solid #6d6d6d; background: linear-gradient(#9b9b9b, #AAA, #b9b9b9);
}
.button--relief { border-radius: 4px; border: 1px solid #777777; background: linear-gradient(#AAA, #9b9b9b); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 2px 2px rgba(0, 0, 0, 0.2); color: #FFF;
}
.button--relief:hover, .button--relief.hover { color: #FFF; background: linear-gradient(#b9b9b9, #AAA); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 3px 3px rgba(0, 0, 0, 0.2);
}
.button--relief:active, .button--relief.active { background: linear-gradient(#9b9b9b, #AAA); color: #FFF; box-shadow: none;
}
.button--retro { border-radius: 4px; border: 1px solid #777777; background: #AAA; box-shadow: 0 4px 0 #777777; position: relative; color: #FFF;
}
.button--retro:hover, .button--retro.hover { color: #FFF; background: #b9b9b9; box-shadow: 0 3px 0 #777777; top: 1px;
}
.button--retro:active, .button--retro.active { background: #9b9b9b; color: #FFF; box-shadow: none; box-shadow: 0 1px 0 #777777; top: 3px;
}
Buttons wip... - Script Codes
Buttons wip... - Script Codes
Home Page Home
Developer Renaud Tertrais
Username renaudtertrais
Uploaded August 12, 2022
Rating 3
Size 4,057 Kb
Views 24,288
Do you need developer help for Buttons wip...?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Renaud Tertrais (renaudtertrais) Script Codes
Create amazing blog posts with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!