Quantcast
Channel: Active questions tagged flexbox - Stack Overflow
Browsing all 1305 articles
Browse latest View live
↧

Box designs - Overlapping when height is adjusted [closed]

I'm a complete beginner with no prior knowledge of html or css. That being said I've managed to create a simple website that I was happy with. Until I needed to include dimensions for a smaller...

View Article


How to align columns across rows in flex (React Native)

How can I use React Native flex to create a table, where column are stretched to fit the widest content?<View style={styles.container}><View style={styles.row}><View...

View Article


How to apply transitions to changes in position of flex-wrap contents?

I have a webpage displaying a 12 month calendar for users to select various dates. The calendar always displays 12 months. Using a slider I allow the user to dynamically change the size of the months...

View Article

space-evenly not working in my flexbox menu

I'm trying to get my menu to space out evenly. It seems to be stuck in the middle and not expanding into free space on either side.<!DOCTYPE html><html lang="en"><head><meta...

View Article

Image may be NSFW.
Clik here to view.

How to vertically align text and image with the bottom elements in CSS?

I am working on a layout where I have some text on the left side and an image on the right side. Below them, I have three smaller images. I want to align the left text and the right image so that they...

View Article


Initial width of handsontable is not well set in a flexbox

I have a handsontable in a flex box.https://jsbin.com/rikufelosi/1/edit?html,outputThe behaviour is very odd: at least in Chrome or Safari under Mac, after loading the page, the width of the...

View Article

How to make side-by-side divs in flex container wrap their contents before...

I have a flex container with two items: an image, and a div containing text and a search box. If the window is sufficiently wide I want the text div to appear to the right of the image, wrapping the...

View Article

Flexbox with fixed header and footer and scrollable content

I am trying to make a flexbox design work. I am not an HTML/CSS expert.I have a flexbox design with a fixed header footer and content that occupies the rest of the available real estate on the...

View Article


vertical scrollbar showing up even when total height is 100%

I have simple HTML/CSS code, that have 3 divs , Header, content and footer.Header and footer are of fixed height(170px) and content is expected to take remaining vertical space. all threes are placed...

View Article


How can I fit content in visible page while using aspect-ratio?

I have a component on my page (named grid in the example).I’d like this component to achieve the following constraints:maintain 1:1 aspect ratiobe as big as possiblestay within the bounds of the...

View Article

Image may be NSFW.
Clik here to view.

``s in flexbox loses proportions in Safari

I have a problem with <img>s inside flexbox in Safari browser (only). I want to create a horizontal list of same height but various width images. I can't set exact height for each image as it...

View Article

justify-content making a gap on the left side

At the bottom, button Git and link "10 min read" and the image are in the same (first two are in the one, the third is for itself).When i try to justify-content, the gap creates on the left side of...

View Article

differences in rendering of a flex-grid

can anyone please explain, why is the first example faster when scrolling downthan the second one? Seems like the 2nd example is re-rendering the rows as I scroll down.It's only noticeable when you...

View Article


Image may be NSFW.
Clik here to view.

Align items equally using CSS with different parents

I want align items with equal spacing and with different parents and without adding any width to those items. I tried below code but not working. Please help me to on this.<div...

View Article

Spinner Overlay Bootstrap 4 Card Body Only - Flex Alignment

Trying to vertically and horizontally align a spinner in a bootstrap 4 card body.I have tried my-auto and justify-content-center & align-items-center, I am missing something.I have checked by...

View Article


How to center elements on the last row in CSS Grid?

I am using CSS grid to layout some items like this...#container { display: grid; grid-template-columns: 16.666% 16.666% 16.666% 16.666% 16.666% 16.666%;}.item { background: teal; color: white; padding:...

View Article

Image may be NSFW.
Clik here to view.

Flexbox CSS Layout with header, footer, partly scrollable sidebar

I'm trying the following.I've tried tons of suggestions on various resources, but there is always 1 thing missing: the scroll appears on body, or on the content, and the header takes up space and...

View Article


Styling dataItems in kendoTreeViewNodeTemplate (Angular)

So for my Angular application I created a menu-builder using the Kendo-TreeView component.I would like to have my action buttons for the nodes to be nicely aligned on the right side as you can see in...

View Article

How do I center items while maintaining white space? [closed]

Currently I have <span className='bg-red-500'>test1</span> test2 test3, but they are not level, so I need to set items center to the parent tag. If I do flex items-center to the parent tag,...

View Article

Image may be NSFW.
Clik here to view.

Trying to create a flex based layout of header, content and footer

I'm trying to achieve this layout. The thin lines are within which all three sections must be bound. The header and footer need to be vertically centered. Then the content should take the height till...

View Article
Browsing all 1305 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>