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

Why do my p elements not center align-center with boostrap flexbox properties?

This is the code I'm concerned with:<div class="container-fluid d-flex align-items-center justify-content-between" id="footer"><div>Copyright...

View Article


Image may be NSFW.
Clik here to view.

CSS flex fit in as many as possible without any empty space [closed]

I want to fit as many divs as possible. Basically, create Russian nested dollsBasically .dashboard > .lab > .colocation > .rack > buttonsThis is what it looks like: notice there are a lot...

View Article


Flexbox with multiline text ellipsis

I've been using the white-space: no-wrap, text-overflow: ellipsis, and overflow: hidden CSS properties to create ellipsis truncation for multiline text. However, this doesn't work when using...

View Article

Image may be NSFW.
Clik here to view.

CSS flexbox fit in as many as possible without any empty space [duplicate]

I want to fit as many divs as possible. No empty spaces using flexbox.<div class="colocation"><span>colocation name</span><div class="rack"><span style="text-align:...

View Article

How do I force css grid items to overlap each other?

I have a row of 5 columns, each holding a red box with some text. When the user shrinks the screen sideways, I want the container to shrink sideways, and I want the boxes to start overlapping each...

View Article


Image may be NSFW.
Clik here to view.

Setting a code tag to inline-flex in CSS causes the code containers to expand...

Here is a screenshot that shows what I have now display:inline, and what happens when I set display:inline-flex:To fix the problem, I tried adding height:16px to bring the height back down, but it...

View Article

How to make flex item shrink more when full container width is taken

Original Post Below:I've reproduced a reduced problem:https://codepen.io/MH-123/pen/ExJWQWq?editors=1100Here's the code pen, read below for the issue, it remains the same. I have two divs, but flex...

View Article

Image may be NSFW.
Clik here to view.

mui Grid items not fit Grid container

I'm having a hard time to fit two Grid items inside Grid container.Grid container should be 100% hight of the screen (or parent container)Grig items are large and need to fit container and be...

View Article


React Native Flex:1 working but changing the hierarchy

here above the red component should occupy the entire screen and the button should go to the bottom`<SafeAreaView style={{flex: 1, backgroundColor: 'red'}}> //red component<TouchableOpacity...

View Article


How can I get my hero section to look like this?

HeroI'm new to coding and trying to build a portfolio page.What would be the best way code the hero section to look like this?Right now my code looks like this, is this the best way to build this...

View Article

How to make left-most flex item stay fixed to screen and other flex items...

I am creating a responsive front page with articles that resize with the page. I have a div 'flex-container' which will contain 3 or 4 articles, maybe more. If the page is increased in size, the...

View Article

How to display 3 items per row in flexbox?

I have a list and I want to display my li elements horizontally and 3 per row. I've been trying to get what I want, but no luck. Is there a solution?<div class="serv"><ul>...

View Article

I am findind it dificult to create a box containing text

image for referencewhat am trying to recreate are those three colored boxes containing texts( Education projects, Health programs and food assistance)i created three divs with a div-container with h2...

View Article


Image may be NSFW.
Clik here to view.

Why are overflowing flex items shown in purple stripes?

I am learning more about the Flexbox inspector in Chrome. So far as I understand when I hover over a flex container in the inspector the purple stripes indicate the available space within the flex...

View Article

get size of flex component

I have two components, one Parent and one Child. The latter should have flex-layout, so that it occupies 75% of the vertical space:const Parent: FC<PropsWithChildren> = (props) => { return...

View Article


CSS scrolling only on part of website - Flexbox, sidebar

Working on a CMS/rich text editor, and for now just recreating the layout Wix is using.Looks like this at the moment: Base Layout and with the sidebar expanded like this: Expanded SidebarFlexbox...

View Article

Bootstrap card not collapsing with other cards and merging with cards

I'm using bootstrap to create a grid of cards, but all the cards are merging together when resizing the screen. This mainly happened when i tried to layout the icons to appear at the top left of the...

View Article


Image may be NSFW.
Clik here to view.

Bootstrap, align items center, but not the last row, if don't have enough...

I have a row with wrap enabled, and items with fixed width. I don't want to stretch out the last item! The problem is, that if every row has 3 item, and the last row have only 1, then that one item is...

View Article

Why is the flexbox container not changing position?

I'm trying to make a 2x2 flexbox container for my webpage that'll hold images and links to other parts of my website. I made the container, but I can't seem to get the container to move no matter what...

View Article

Tailwind CSS style Not applying

where the error is occurred?this is my end points:theme: {screens: {'mobile-sm': '320px','mobile-md': '481px','tablet': '769px','desktop-sm': '1025px','desktop-md': '1201px'},I need to apply style as,...

View Article
Browsing all 1307 articles
Browse latest View live


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