D
D
Dmitry Quick2020-05-15 22:08:04
css
Dmitry Quick, 2020-05-15 22:08:04

How to set height for vertical borders?

You need to set the height of the side frames so that they are the same as in the layout:
5ebee7b8daab3979484251.png
How to do this? Is it possible to set height properties for border?

Here is the code (HTML and CSS):

<div class="expert__wrapper">
                <div class="expert__item">Prengi Production </div>
                <div class="expert__item">Prengi FMC </div>
                <div class="expert__item">Prengi Mallz Retail </div>
                <div class="expert__item">Prengi Logistic </div>
                <div class="expert__item">Prengi IT </div>
                <div class="expert__item">Prengi HR </div>
            </div>


&__wrapper
        display: flex
        justify-content: space-between
        width: 778px
        margin: 0 auto
        margin-top: 25px
        border: 1px solid #ffffff
        padding: 26px 33px
        border-radius: 5px
    &__item
        // height: 49px
        color: #ffffff
        font-weight: 400
        font-size: 14px
        border-right: 1px solid #ffffff 
        padding-right: 25px
        &:last-child
                border-right: none

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question