Flexbox Scrolling Issue
I have a page with an h1 and a p on top, and a div on the bottom.The div have 2 divs inside, but it isn't allowing me to see the whole thing on mobile. As in it isn't allowing me to scroll.I do NOT...
View ArticleNavbar list items being disrupted with image [closed]
Need some help on why my links aren't positioned where they should be.Only the :first-child seems to be aligned where it should.* { margin: 0; padding: 0;}body { min-height: 100vh; background-image:...
View ArticleHow does position: sticky work within a flex DIV?
I read a lot about position: sticky in CSS. And I know, it does not work with overflow: hidden and display: flex. But I want to stick a button on top, that is positioned on the right of another...
View ArticleSetting a max-width for flex items?
I'm trying to create a filter section on my site, the content is all generated dynamically (so I can't add extra parents to it), and our styleguide creates them using flex items. I'd like to keep this...
View ArticleMake sure elements break to a new line without gaps [duplicate]
I am adjusting a suggestions box on a website which shows up when using the search function. It can display a maximum of 12 suggestions but depending on the search it can show 1, 2, 3, 4 etc at a...
View Articledisplay flex - keeping last element in full width
I am trying to keep my 3d element with full width of the flex container. But not getting the result.Can anyone suggest me the right way for ie11 here?.parent{ border:1px solid red; display:flex;...
View ArticleConfusion with flexbox child's width [closed]
I have been using flex-box for almost everything for quite some time, but there is still some small things with child sizing that I wasn't able to figure out. I am giving two examples:.parent {...
View ArticleFlex container not reaching max width before wrapping children
In this snippet, the inner-left element gets a new item added to it every time the Add Item button is clicked. It has a max-width of 50% of the parent width, however the flex items are being wrapped...
View ArticleHow to break a flex into new row for dynamic data [closed]
I am working on a video calling application using reactjs. LocalTile component contains video of local user and RemoteTiles is returning videos of all remote users. My desired layout is like for 3...
View ArticleChildren in flexbox not responding to order and align-self
I am trying to create a responsive island scenescape by overlaying three elements: I would like to place the palm tree on the sand island to the left, and position the text to float in the space to the...
View ArticleWhy is flex item not taking up the whole parent height?
My goal is to make a cart. That displays items with it's attributes, name, picture etc.I got the layout as I desired. However the cart-product-quantity won't take up the whole height. I could set the...
View ArticleHow to position a graphic behind objects and align with the objects in HTML,...
I am trying to put a graphic behind some text boxes and have all the items center aligned. The basic idea is teh graphic shows a specific area of interest, and teh boxes are used to determine specific...
View ArticleUneven spacing between flex items when using flexbox [duplicate]
NavBar.jsimport React from "react";import ReactDOM from 'react-dom';import ReactDOMServer from 'react-dom/server';import './NavBar.css';function NavBar() { const heading = 'first heading' let list =...
View ArticleHow to use filter on background like background blur or brightness without...
I am working on a web project and I would like to apply a filter effect, such as background blur or brightness adjustment, to the background of a specific section. However, I want the text within this...
View Articlealign-items : what is the difference between flex-start and Stretch?
can you please tell me align-items : what is the difference between flex-start and Stretch?.container { height: 500px; padding: 10px; margin: 50px auto; background: #eee; display: flex; align-items:...
View ArticleWhy is it that making a div 'display: flex' changes the height of the inner div?
I have the following HTML/CSS code, whenever I toggle the display: flex in .cards-container the height of the .card div seems to shrink (when display: flex is not present) and grow (when display: flex...
View Articlestyle only first item in each flexbox row
I have a horizontal, wrapping flexbox, like so:.container { display: flex; flex-direction: row; flex-wrap: wrap;}The number of items per row will vary depending on the screen width, and the width of...
View ArticleCollapsing table with flex box does not allow to center the rows
I am using display: flex to collapse table columns into one column on smaller screens. However, I encounter the following issues:Table Rows () Do Not Take Full Width:When applying display: flex to...
View ArticleStuck at Grid Attack level 47 [closed]
I got stuck at coding fantasy: grid attack game level 47, it doesn't give any hints and i cant skip levels. Is there anyone who can help with the solution?The starting code is as such:<div...
View ArticleDynamically sizing flex items while keeping consistent size on last row...
My flexbox container has a variable width and children can shrink until 150px and grow up to 250px. This works as intended except, when the last row is not full of children, they grow larger than...
View Article