Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Created boxes in CSS Flexbox aren't showing up

I am working on recreating a landing page layout from the Odin Project. I’ve mostly created it, but the small boxes I’ve created aren’t showing up.
The GitHub is here: https://github.com/smgriffis/landing-page
The CSS code I’ve written is:

.info-box {
    width: 70px;
    height: 70px;
    border-radius: 7px;
    margin: 10px;
    border-color: 5px solid blue;
    background-color: white;

}

And HTML:

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

<div class="wrapper">
<div class="second-section" id="second">
<h6>Services we offer</h6>
<div id="service-info">
    <ul class="service-info">
        <li><div class="info-box" id="box1"></div></li>
        <li>Conceptual planning</li>
    </ul>
    <ul class="service-info">
        <li><div class="info-box" id="box2"></div></li>
        <li>Developmental editing</li>
    </ul>
    <ul class="service-info">
        <li><div class="info-box" id="box3"></div></li>
        <li>Copyediting</li>
    </ul>
    <ul class="service-info">
        <li><div class="info-box" id="box4"></div></li>
        <li>Proofreading</li>
    </ul>
    </div>
</div>
</div>
</div>

and I’m not sure why, but those boxes do not appear in the layout. Could anyone shed some light on this?

>Solution :

Change "border-color" to just "border"

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading