Untitled

 avatar
unknown
css
2 years ago
662 B
9
Indexable
.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;
}
Editor is loading...
Leave a Comment