Welcome to Code Forum!

Join a community that supports you and your coding journey from day one. We strive to be a friendly, supportive community that empowers everyone to be better developers. By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.

    GIF shows where to locate </> in the thread and or post editor toolbar.
    To learn more about how to use our BBCode feature, review our "How to post your code into threads" here.

    Thank you, Code Forum.

HTML & CSS Side title with 3 column of images - can't figure out best way to code to make even and responsive

dooleya

New Coder
Hi all, I am a newbie front end coder (still learning so don't judge the mess my code probably is) but if you want a challenge and can help me out.... I am trying to create this lay out:

Designed Original Layout but am only able to get to this Coded version


I have included my code and CSS so any help would be appreciated

[CODE title="HTML for block"]<div class="container-fluid">
<div class="row impact">
<div class="col-lg-1 col-md-2 col-sm-12"><img src="images/IMPACT.png" class="imgtitle"></div>
<div class="col-lg-3.3 col-md-3 col-sm-12"><img src="images/stat1.png" class="imgstat"></div>
<div class="col-lg-3.3 col-md-3 col-sm-12"><img src="images/stat2.png" class="imgstat"></div>
<div class="col-lg-3.3 col-md-3 col-sm-12"><img src="images/stat3.png" class="imgstat"></div>
<div class="col-lg-0 col-md-1 col-sm-1"></div>
</div>
</div>

[/CODE]

[CODE lang="css" title="CSS for block"].container-fluid {
background-color: white;
padding-bottom: 30px;
margin: 0 auto;
}

.row.impact {
padding-top: 20px;
margin-right: 0px;
}

.col {
align-content: center;
float: right;

}

.imgstat {
width: 100%;
align-content: center;
float: right;

}

.imgtitle {
width: 20px;
display: inline;
float: inline-start;
}[/CODE]
 

Buy us a coffee!

Buy me a coffee.
Back
Top Bottom