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

Image may be NSFW.
Clik here to view.

How can I keep the ticks on my range slider from shifting on small screens?

I have a slider that works well, but if I shrink the screen below 400px the tick marks under the slider do not adjust correctly. I believe the issue is with the max-width of the input[type=range]...

View Article


How to wrap all flex columns except the first one

(Desired outcome: https://i.sstatic.net/CUJuwwbr.png)I'm looking for a solution where the 4th box goes beneath the 2nd and then the 3rd below the 4th (new position) when resizing the window horizontal....

View Article


Image may be NSFW.
Clik here to view.

Create two column accordion from an array

I have an array containing an accordion and it's items. The size and content of the array is unknown to me.From this array I want to create a two-sized-column.I tried with column-count, but it gives me...

View Article

React Native: Rows are too short when using flexWrap: wrap and alignContent:...

I'm seeing a discrepency in my React Native app between Web vs Native Mobile — it's about setting the alignSelf property of elements in flex containers with flexDirection: row and flexWrap: wrap. On...

View Article

Image may be NSFW.
Clik here to view.

Non responsive layout using flexbox

Is it possible to use flexbox to design non responsive layout.could you provide example of such layout.This is the layout I have been trying to build as non responsive using flexbox

View Article


CSS Flex Layout: Content and Aside Are Cut Off Despite Dynamic Scaling in...

Problem:I’m building a kiosk-mode display where content (80% width) and aside (20% width) should dynamically scale to fit the window without being cut off. The slide-text section at the bottom should...

View Article

Is align-item:baseline only works with flex-direction row?

I am learning about align-items and I have some doubt. Is align-items: baseline; only work for flex-direction: row; or it also work for flex-direction:column;Bacause when I am using it with...

View Article

Image may be NSFW.
Clik here to view.

How to prevent a flexbox from clipping the bottom element contained within it...

Browser: Firefox v134.0.2In the following example, the bottom part of the y letters in the word yesterday don't seem to be contained within the <rb> tag, as they should; these bottom parts...

View Article


Dynamically Resizing a GeoGebra Applet to Fill a Responsive Container

https://jsfiddle.net/ab7etkco/4/<!doctype html><html><head><script src="https://www.geogebra.org/apps/deployggb.js"></script><style> #wrapperDiv { width: 100%;...

View Article


TextInput rendering takes the full height of the screen and has a very narrow...

The problem is with React-native-papers and TextInput component.When alignItems: 'center' is used on a View above TextInput in the tree the TextInput's rendering takes the full height of the screen and...

View Article

Content within card stretches page when overflow occurs

I am working on a little productivity hub, where each card acts as a different section in the dashboard. For my todo card, whenever I add more content, the page stretches, isntead of the just making...

View Article

All Flexbox Containers Expanding Unintentionally When Toggling One Container

I'm working on a layout using Flexbox, where I have multiple containers, each containing collapsible content. When I toggle the expansion/visibility of one collapsible container, all the containers...

View Article

Image may be NSFW.
Clik here to view.

Align section heading with the first content item instead of centering in...

I'm working on a section layout where I have a headline and a content container using Flexbox to center the content horizontally. The content container holds several media cards.<section><h2...

View Article


React / CSS Layout: make sidebar scrollable

I am quite new to web app development (just hobby). I have the following layout based on flexbox:Header rowMain part consisting of main div and side barFooter rowWhen the screen is wide enough...

View Article

Image may be NSFW.
Clik here to view.

CSS text-container displayed in row instead of columns

I can't figure out on why the text box to the right of the picture is displayed in rows instead of columns(The second button isn‘t necessary anymore. :))Picture of what it is supposed to look like:What...

View Article


Image may be NSFW.
Clik here to view.

Why is position: sticky not working for the panel but works for the table...

I am trying to add a shadow effect using ::after on a sticky element inside a flex container, but it is not working as expected. Instead, it overrides the main table.When I use position: relative; and...

View Article

Image may be NSFW.
Clik here to view.

100% width in React Native Flexbox

I have already read several flexbox tutorial, but I still cannot make this simple task to work.How can I make the red box to 100% width?Code:<View style={styles.container}><Text...

View Article


Why does adding height: 100% cause a child to shrink, but removing it causes...

I have a series of cards in a flex row. Some cards have longer titles, and therefore have a larger height. If I apply a height of 100% to all cards (using tailwind's h-full class), the smaller cards...

View Article

Image may be NSFW.
Clik here to view.

Css aligning elements inside a flex to fill the bottom as priority when...

What I have is this. A div with some divs inside. The other div has display: flex and flex-wrap: wrap. The dis inside all have a width of 20. now everything is laid ok in large screen as its all flat....

View Article

Image may be NSFW.
Clik here to view.

Flexbox: How to stretch row's elements to full width?

I have a flexbox grid of random width images:I would like to stretch elements of each row to full width in order to get rid of white-space - how can I achieve that with CSS?justify-content doesn't seem...

View Article
Browsing all 1305 articles
Browse latest View live


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