Skip to content
Snippets Groups Projects
header.module.css 1001 B
Newer Older
  • Learn to ignore specific revisions
  • Ludvig Damberg's avatar
    Ludvig Damberg committed
    .header{
    height: 10vh;
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: end;
    }
    .button {
        appearance: none;
        background-color: rgb(255, 240, 153);
        border: 0.125em solid #383838;
        border-radius: 0.9375em;
        box-sizing: border-box;
        color: #383838;
        cursor: pointer;
        display: inline-block;
        font-size: 16px;
        font-weight: 600;
        line-height: normal;
        margin: 0;
        min-height: 3.75em;
        min-width: 0;
        outline: none;
        padding: 1em 2.3em;
        text-align: center;
        transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
        will-change: transform;
        margin: 5px;
       }
       
       .button:disabled {
        pointer-events: none;
       }
       
       .button:hover {
        color: #fff;
        background-color: #1A1A1A;
        box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
        transform: translateY(-2px);
       }
       
       .button:active {
        box-shadow: none;
        transform: translateY(0);
       }