mirror of https://github.com/sveltejs/svelte
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
305 B
21 lines
305 B
1 year ago
|
<button> Click me </button>
|
||
3 years ago
|
|
||
5 years ago
|
<style>
|
||
|
button {
|
||
1 year ago
|
background: #e2e8f0;
|
||
|
color: #64748b;
|
||
3 years ago
|
border: unset;
|
||
|
border-radius: 6px;
|
||
1 year ago
|
padding: 0.75rem 1.5rem;
|
||
3 years ago
|
cursor: pointer;
|
||
5 years ago
|
}
|
||
|
button:hover {
|
||
1 year ago
|
background: #cbd5e1;
|
||
3 years ago
|
color: #475569;
|
||
5 years ago
|
}
|
||
3 years ago
|
button:focus {
|
||
1 year ago
|
background: #94a3b8;
|
||
|
color: #f1f5f9;
|
||
3 years ago
|
}
|
||
1 year ago
|
</style>
|