Quantcast
Browsing all 1312 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Flex ordering issue: is it possible to change the flow order?

This is my attempt to create a CSS template with the following features:for smaller viewports (< 1200px) single column, with these items:box-menubox-databox-footerfor larger viewports, switch to a...

View Article


why is flexbox affecting absolutely positioned element? [duplicate]

as it is said "an absolutely-positioned child of a flex container does not participate in flex layout.".then why are flexbox's justify-content:center and align-items: center properties making element...

View Article


display:none not correctly working on mobile

there ho here's a CSS code, I want to hide it on PC view but visible on Phone view, I'm able to achieve my results on PC, but not on Phone, because display: none; is interfering with the code's work....

View Article

React component not getting rendered properly

I'm trying to create a React app where I have two components: (placed on the left) (should take the remaining space on the right)I want to use Flexbox to align both components horizontally, but for...

View Article

Automatic image height [duplicate]

How do I make the height of the image become the height of the block if the height of the block is not known in advance?I want to make the blocks with users look like:AAA James BondAAA 02.01.2001The...

View Article


Image may be NSFW.
Clik here to view.

Fill remaining vertical space with CSS using display:flex

In a 3-row layout:the top row should be sized according to its contentsthe bottom row should have a fixed height in pixelsthe middle row should expand to fill the containerThe problem is that as the...

View Article

Flex box background color cuts off at parent container width when using calc...

Trying to extend the background of the Flex box to go beyond its immediate parent boundaries, when scrolling. However, the background gets cut off at the width of the parent container.<div...

View Article

Image may be NSFW.
Clik here to view.

Div flexbox styling issue [closed]

I am using tailwind in next-js project, i am trying to give a div a constant width 300px, but it always gets a width about 30+ percent less. I've set flex grow to 0(the parent is a flex container), and...

View Article


How to use React Native Animate to change view flex from 0 to 1

I have two views inside another view which has default flexDirection style so it is columnar. When the user clicks on an item in the bottom view (marked options below), I want the top view to animate...

View Article


How to vertically center text within a flexbox item? [duplicate]

I'm trying to vertically center text within a flexbox item. I've tried using align-items: center on the parent container, but the text isn't centering. My HTML structure is as followsI tried to apply...

View Article

Is it possible to make "flex-direction: row;" take up the full vertical space...

I have a parent div with 3 children in my .html sheet, and a .css sheet that mirrors this.I set the parent div to display the children as a row with flex (which i wanted), but i also want the height of...

View Article

How to make element in flex child full height? [closed]

I have this block of code that's pretty standard for making a proper layout.<div class="min-h-screen bg-slate-900 text-white flex flex-col"><header class="bg-red-950"><a...

View Article
Browsing all 1312 articles
Browse latest View live


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