# Creating images with Bootstrap row/columns

**URL:** <https://forum.freecodecamp.org/t/creating-images-with-bootstrap-row-columns/90475>\
**Category:** General\
**Created:** [February 23, 2017, 12:49pm UTC](https://forum.freecodecamp.org/t/creating-images-with-bootstrap-row-columns/90475 "2017-02-23T12:49:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AnabelSalomone](https://avatars.discourse-cdn.com/v4/letter/a/e99b99/32.png) [@AnabelSalomone](https://forum.freecodecamp.org/u/AnabelSalomone)\
**Post date:** [February 23, 2017, 12:49pm UTC](https://forum.freecodecamp.org/t/creating-images-with-bootstrap-row-columns/90475/1 "2017-02-23T12:49:23Z")

</div>

I would like to know if there’s a simple way to create images from Boostrap’s columns and rows. I would like to do something like this: [https://help.github.com/assets/images/help/profile/identicon.png](https://help.github.com/assets/images/help/profile/identicon.png)  
Do I have to give the height and width to the divs and then set the background color? I admit I’m a bit lost…  
I know it hasn’t much sense but believe me I need to find a solution to this in order to finish a task 🙂

Thank you!

---

<div class="post-metadata">

**Author:** ![mnisalam](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/mnisalam/32/41047_2.png) [@mnisalam](https://forum.freecodecamp.org/u/mnisalam)\
**Post date:** [February 23, 2017, 1:15pm UTC](https://forum.freecodecamp.org/t/creating-images-with-bootstrap-row-columns/90475/2 "2017-02-23T13:15:50Z")

</div>

you do not need to use bootstrap. if you do it will become a troublesome solution. You can use simple html and css.

div class="row1"  
div class="col1"  
div  
div class="col2"  
div  
div

* * *

.row1 {  
width: as you like;  
height: as you like;  
margin: 0px auto 0px auto;  
color: your choice;  
}

.col1 {  
margin: 0px;  
width: 20%;  
height: 100%;  
color: as you like;  
float: left;  
}

## .col2 { margin: 0px; width: 20%; height: 100%; color: as you like; float: right; }

this demo will make first cow and its two columns. apply this technique to all your rows. you can set color to white on the blank columns.

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [January 16, 2021, 2:48pm UTC](https://forum.freecodecamp.org/t/creating-images-with-bootstrap-row-columns/90475/3 "2021-01-16T14:48:02Z")

</div>

Closed on January 16, 2021, 2:48pm UTC


