Untitled

mail@pastecode.io avatar
unknown
css
7 months ago
662 B
6
Indexable
Never
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 150px auto;
}

.row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 40vw;
}

.button {
    width: 14vmin;
    height: 5vmin;
    border-radius: 5px;
    border-width: 7px;
    font-weight: bold;
    font-size: 20px;
    transition: border-color 1s;
}

.button.activeBorderColor {
    border-color: blue;
}

.box {
    background-color: magenta;
    width: 7vmin;
    height: 7vmin;
    margin: 5vmin;
    transition: width 1s, height 1s;
}

.biggerBox {
    width: 12vmin;
    height: 12vmin;
}
Leave a Comment