boot strap grid css horizontal stacking [duplicate] - css

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

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.

How to make honeycomb borders? (CSS) [duplicate]

This question already has answers here:
How to create a triangular shape with curved border?
(2 answers)
Responsive irregular background shape with CSS
(3 answers)
Closed 2 years ago.
In general, the task is a little more difficult. Perhaps it is not border-raudius that should be used here. I do not know..
To better explain the problem, take a look at the following image:
There is a list of items. On hover, element borders and horizontal lines on the sides change color.
Even if I set the borders, I don’t know how to make horizontal lines on the sides and make them interact at the same time on hover.
Do you have any ideas how you can implement this? What approach is needed to solve this problem?
Using only CSS.
Thanks!

Make a container transparent only when another div is over [duplicate]

This question already has answers here:
How to make a child div transparent?
(2 answers)
Closed 5 years ago.
So as exposed in the title, i'd like to make a part of a container transparent, but only where there is another div, I know I can't tell it clearly, then I made an example :
I don't know if it is possible doing this, using ONLY CSS, I can't use JQuery, not even Javascript.
Thank you in advance for your answers :)
No, this can't be done with CSS alone. However, as CBroe has said, you could apply the same background image to the second/inner to give the illusion that it's transparent.

Creating a grid of tiles in bootstrap 3 [duplicate]

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

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