Quantcast
Browsing all 1314 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Equal height cards using Flexbox

Pretty simple problem. I have multiple cards representing my projects. I am trying to make them equal height, equal width, evenly spaced, and centered. I have everything except the equal height. Right...

View Article


Why does Flex causes multiple images to shrink?

I want to create a carousel of identically sized images using Tailwind CSS. I want to have 5 images next to each other that the viewer will be able to scroll left and right to see the images. When the...

View Article


What is this empty white space inside a flex container? [closed]

Cards inside flex containerSo in this image there is the purple dotted space that is the empty space in the flex container, there are my cards which have a black border around them, and then there is...

View Article

Navbar toggler not turning into an "X" when expanded

For contex, I am using HTML, and CSS (with Bootstrap 5 through the CDN connected link/script tags) to create a front-end responsive static website.My issue is that when the toggler is expanded, it is...

View Article

can't get full height landing page to work on android chrome

The landing page works fine on chrome on desktop, and chrome on iphone and occupies 100% height.But when testing on chrome on android, the page loads lower down, then "jumps up" into place when you...

View Article


Having difficulty getting grid to flow from left to right [duplicate]

novice to intermediate with HTML/CSS. I've been building this gallery, and I have everything perfect, except for the fact that it reads the gallery items top to bottom in sequential order. **I need it...

View Article

Image may be NSFW.
Clik here to view.

Bootstrap 4.0 - Use flex columns

Hi can you help me to set columns in my code? I have this code:<div class="container-fluid h-100"><div class="row h-100"><div class="flex-column h-100">side menu</div><div...

View Article

the website is alright is some devices but not on all of them [closed]

i've been working on this website for sometime. and every once in a while i upload it on the server to check if everything is alright. after this upload the website is completely distorted on some...

View Article


Image may be NSFW.
Clik here to view.

How to make div at right side of horizontally justified (centered) element....

How to make this to be exact:-In the above there is a div justified at the center, and then another div next to it. The width of both the div's changes with animation and buttons.<script...

View Article


How to Display Blog Items in Rows Instead of Columns Using EJS and CSS?

I'm using this code to print out blogs on my site<div class="blogView"><ol><% if (locals.listaBlogova) { %><% listaBlogova.forEach(function (blog) { %><li...

View Article

Image may be NSFW.
Clik here to view.

Column flex layout is affecting the subchild

In the following code,in Boxes1, .fourth div stretches properly,but in Boxes2, .fourth div does not.I do not understand the relation.And how does .first div affecting the .fourth div is quite...

View Article

Flexbox - justify-content: center and align-items: center not working?

I have a pretty basic flex setup and, for whatever reason, the div in question won't vertically center inside its parent tag. You can see the isolated test case below..likeness-rank-table {...

View Article

Image may be NSFW.
Clik here to view.

CSS flex layout with columns

I'm relatively new to css, don't know how to make the layout work. There is a column with photo swiper to the left and a column with info to the right. The problem is that on desktop layout (@media...

View Article


Prevent content from expanding parent's width having `flex: 1` [duplicate]

I have the following html layout, where I want to give a fixed width to the first and third divs, while making the second div take the remaining width.Normally, this can be achieved by giving flex: 1...

View Article

Overflown Content Clipping when align-items set to center of flex child...

I have this bit of code. A salmon coloured part is a child with a flex container that has overflow set to auto and it also set to fill the remaining space vertically.<div style=" height: 300px;...

View Article


Masonry layout with the same equal columns and spacing [duplicate]

I have a problem with developing following columns layout:enter image description herePlease note: i dont exatcly know how many rows and columns i will have, but as per image it will be 3 columns per...

View Article

Flex items go from row to column when no available space horizontally without...

I have a flexbox with three flex items with text in it.I want to go from all three items in a row to a column directly when the items wants to start wrapping.I don't have to have a media query for...

View Article


How to vertically align text inside a flexbox?

I would like to use flexbox to vertically align some content inside an <li> but not having great success.I've checked online and many of the tutorials actually use a wrapper div which gets the...

View Article

How to Vertically Align Images with Different Heights in a flexbox?

Trying to have it so all the images are centered within the flex box and all images are also inline with one another (aka the center of each image is along the same axis). I know this is probably...

View Article

Image may be NSFW.
Clik here to view.

Flexbox layout without item re-rendering to new parent

This is the layout i'm trying to make:I have a difficult flexbox layout that I'm trying to achieve, and I have a difficult restriction that one of the items is a Webgl player and cannot be...

View Article
Browsing all 1314 articles
Browse latest View live