Style.css
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
}
header {
background: #43a8f0;
color: #fff;
padding: 7px;
}
.button-container {
display: flex;
justify-content: center;
}
[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
cursor: pointer;
}
.btn {
padding: 0.375rem 0.75rem;
font-size: 1rem;
text-align: center;
text-decoration: none;
border: 1px solid transparent;
border-radius: 0.375rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn:hover {
color: var(--btn-hover-color);
background-color: var(--btn-hover-bg);
border-color: var(--btn-hover-border-color);
}
.btn:focus {
color: var(--btn-hover-color);
background-color: var(--btn-hover-bg);
border-color: var(--btn-hover-border-color);
outline: 0;
box-shadow: 0 0 0 0.25rem rgba(var(--btn-focus-shadow-rgb), .5);
}
.btn:active {
color: var(--btn-active-color);
background-color: var(--btn-active-bg);
border-color: var(--btn-active-border-color);
}
.primary {
--btn-color: #fff;
--btn-bg: #43a8f0;
--btn-border-color: #43a8f0;
--btn-hover-color: #fff;
--btn-hover-bg: #116bf0;
--btn-hover-border-color: #0a58ca;
--btn-focus-shadow-rgb: 49,132,253;
--btn-active-color: #fff;
--btn-active-bg: #0a58ca;
--btn-active-border-color: #0a53be;
--btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
--btn-disabled-color: #fff;
--btn-disabled-bg: #0d6efd;
--btn-disabled-border-color: #0d6efd;
}
.input-group {
display: flex;
flex-direction: column;
}
.input-group input {
border: 1px solid #ccc;
outline: none;
padding: 10px;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
-ms-border-radius: 3px;
-o-border-radius: 3px;
}
.card {
box-shadow: 0 0 4px 0 rgb(0 0 0 / 8%), 0 2px 4px 0 rgb(0 0 0 / 12%);
border-radius: 3px;
background: #fff;
}
¿Quieres ver más aportes, preguntas y respuestas de la comunidad?