all reset
☀ Lights
Netbax Online Editor Try it Yourself
Run
HTML
reset
copy
Blue
Gray
Green
Red
Orange
Purple
White
Dark
Link
CSS
reset
copy
.button { text-align: center; border: 1px solid transparent; padding: 14px 48px; font-size: 17px; border-radius: 4px; cursor: pointer;} .blue{ color: #0090e7; background-color: transparent; border-color: #0090e7; } .blue:hover{ color: #fff; background-color: #0090e7; border-color: #0090e7; } .blue:focus { box-shadow: 0 0 0 0.2rem rgba(0, 144, 231, 0.5);} .gray { color: gray; background-color: transparent; border-color: #777; } .gray:hover { color: #212529; background-color: #ced9dc; border-color: #c6d3d7; } .gray:focus { color: #212529; background-color: #ced9dc; border-color: #c6d3d7; box-shadow: 0 0 0 0.2rem rgba(199, 204, 207, 0.5); } .green { color: #00d25b; background-color: transparent; border-color: #00d25b; } .green:hover { color: #fff; background-color: #00ac4a; border-color: #009f45; } .green:focus { color: #fff; background-color: #00ac4a; border-color: #009f45; box-shadow: 0 0 0 0.2rem rgba(38, 217, 116, 0.5); } .red { color: #fc424a; background-color: transparent; border-color: #fc424a; } .red:hover { color: #fff; background-color: #fb1c26; border-color: #fb101a; } .red:focus { color: #fff; background-color: #fb1c26; border-color: #fb101a; box-shadow: 0 0 0 0.2rem rgba(252, 94, 101, 0.5); } .purple { color: #8f5fe8; background-color: transparent; border-color: #8f5fe8; } .purple:hover { color: #fff; background-color: #783ee3; border-color: #7032e2; } .purple:focus { color: #fff; background-color: #783ee3; border-color: #7032e2; box-shadow: 0 0 0 0.2rem rgba(160, 119, 235, 0.5); } .orange { color: #ffab00; background-color: transparent; border-color: #ffab00; } .orange:hover { color: #212529; background-color: #d99100; border-color: #cc8900; } .orange:focus{ color: #212529; background-color: #d99100; border-color: #cc8900; box-shadow: 0 0 0 0.2rem rgba(222, 151, 6, 0.5); } .white { color: #000; background-color: transparent; border-color: #777; } .white:hover { color: #212529; background-color: #ececec; border-color: #e6e6e6; } .white:focus { color: #212529; background-color: #ececec; border-color: #e6e6e6; box-shadow: 0 0 0 0.2rem rgba(222, 222, 223, 0.5); } .dark { color: #fff; background-color: #18191b; border-color: #252321; } .dark:hover { color: #fff; background-color: #252321; border-color: 18191b; } .dark:focus { color: #fff; background-color: #222222; border-color: 18191b; box-shadow: 0 0 0 0.2rem rgba(49, 49, 49, 0.5); } .link { background-color: transparent; color: #007FFF; text-decoration: none; } .link:hover { color: cyan; text-decoration: underline; } .link:focus { text-decoration: underline; }