Creating a grid of tiles in bootstrap 3 [duplicate] - css

This question already has answers here:
How to create the masonry effects with just bootstrap 3 grid system and css
(5 answers)
Closed 6 years ago.
I am working on a project and the user asked if they could have something like this.
Grid lines are there as a guide.
I understand I could use columns but the item that's tripped me up is the longer image.
Is there a way to have a row that spans many rows?
Or is it best to have columns within columns and then seperate out each element?

Try with below Column technique
Demo: https://jsfiddle.net/uurzr45k/3/
img{width:100%; margin:10px 0;}

The Masonry Plugin can help you achieve this layout > Check it out

Related

Is it possible to make divs overlap like cards *just* using css [duplicate]

This question already has answers here:
Partially overlap elements using CSS
(3 answers)
Closed 11 months ago.
Currently my site looks like this (making a browser based card game), please ignore the art for now - screenshot - I would like them to overlap slightly rather than wrapping around and creating a new line almost like someone is holding the cards. I have no idea where to even start with this without using js so I was wondering if anyone could help me come up with a solution that just uses pure css solution.
You can use margin-left and margin-right with negative values. Or you can set the card positions by using position: absolute and left and top properties.

Get first and second element satisfying a CSS path [duplicate]

This question already has answers here:
How to get an 'nth-of-type' in Selenium
(2 answers)
Closed 3 years ago.
Let's say I have a CSS path:
.event__participant.event__participant--away
How can I get the first element satisfying that path? Or second element? Or X element? I'm using selenium and I don't want to be getting all 100+ of them. :nth-type-of doesn't work and I can't use nth-child because it has more children than just .event__participant--away.
Based on the css provided at the top in your original post the css in your script should be
Driver.FindElementsByCssSelector(".event__participant.event__participant--home:nth-of-type(1)")

boot strap grid css horizontal stacking [duplicate]

This question already has answers here:
How to Create Grid/Tile View? [duplicate]
(8 answers)
Closed 6 years ago.
I'm trying to solve a css problem with bootstrap 'possibly' if we can stack rows with different height like this picture bellow (column has equal width but different height from one another)
horizontal stacking
This is a concept of Masonry. I will suggest to follow the links below. Following this link, you will be able to understand the concept of Masonry.
http://masonry.desandro.com/
Below link will help you to understand the CSS and HTML required for making this Masonry layout.
http://masonry.desandro.com/layout.html
Also I am providing the link where you can edit this Masonry Layout. Hope this help you to solve your problem.
http://codepen.io/desandro/pen/JFpeg

To merge cell vertically or horizontally [duplicate]

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
How to merge cells in DataGrid/AdvancedDataGrid in Adobe Flex
I want to do something as Office Excel with Flex, such as merging cells. How do I do it?
Hi Please given below link you will find out every thing regarding your query....Click Here For Demo & Code

Styling scroll bars with CSS [duplicate]

This question already has answers here:
CSS customized scroll bar in div
(20 answers)
Closed 7 years ago.
I tried searching online but I didn't find any good sources on this. Is there a way to style scroll bars with pure CSS so that it is compatible with a maximum number of browsers?
You can style scrollbars in Internet Explorer and Webkit only.
Note that these are not standard properties.
However, you can achieve this with JavaScript. One project that does this is jScrollPane.
Adding my 2 pence a little late, but if you really want to style them I would suggest trying http://jscrollpane.kelvinluck.com/. It's not a pure CSS solution like you are looking for but is a solution of sorts.

Resources