Quantcast
Browsing all 1312 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Pure css stacking card effect with sticky position, no javascript

I'm working on a section where these cards are stacked, the problem is that they do it using position: sticky and when the effect of cards is over, the cards go through the "sticky-header" and I would...

View Article


Image may be NSFW.
Clik here to view.

Why element is not taking the exact width that I tell with CSS?

I'm selecting an <img> element with CSS and applying a width to it, but, when I inspect the computed value of the generated element by the browser (the generated <img>), I see a different...

View Article


Image may be NSFW.
Clik here to view.

Two dynamic strings space distribution with CSS

Frontend newby here - got this task with 2 dynamic strings, one goes next to the other horizontally in a fix width container, one string aligned to the left, the other - to the right.Feels like there...

View Article

Image may be NSFW.
Clik here to view.

Flex row not working in React Native after reading all post here

I don't know what is wrong with my code, but always shows the < Text > under the < TouchableOpacity >. I tried to change everything in the code without results, nor about others similar...

View Article

Image may be NSFW.
Clik here to view.

How to align a text with background-color?

first time posting in the forum.I'm a beginner in programming and currently learning web development.I stumbled upon this problem while trying to re-create Google homepage.This is the navigation bar...

View Article


How to align metadata (time and icon) in a chat bubble layout when text is...

How it should look "the correct version"How it looks, "the incorrect version"The metadata looks ok when the text is long, however, when the text is short for example, the user sends "Ok" the metadata...

View Article

Float inside flexbox (or equivalent) [closed]

@Close-voters: what "details or clarity" is lacking? Do you want me to explain what a flexbox and a float is?float: right doesn't work inside a flexbox. (It doesn't float right, and it doesn't span...

View Article

Image may be NSFW.
Clik here to view.

Stacking / Tiling / Mosaic Flexbox columns with DIV text (not images) done...

I've looked everywhere and are struggling for a solution to creating a mosaic layout with CSS only. I'm not even sure mosaic is the right terminology for what I am trying to do ... collapsing tiles,...

View Article


Image may be NSFW.
Clik here to view.

Image-banner and link-wrapper not aligning to center in CSS grid layout when...

I'm trying to center-align an image and a set of links in the center column of my navigation layout. When I don't specify a width for the .center-column element, the alignment works perfectly. However,...

View Article


Why is there a white space left under the div when I apply box-shadow?...

I'm trying to make a page with 3 images, each one inside a div, but when applying box-shadow there is a gap underneath.Image with example of the problem<style> body { margin: 0; } .img img {...

View Article

Layout a flex box similar to a table?

I'm working with a framework developed in-house which depends on a certain structure to our HTML. And one of the tricky things is that each row needs its own container with its own classes and data...

View Article

Flexbox and max-width? Parent width is max-width when child is less wide...

.row { display: flex; align-items: center; /* Centers items vertically */ background-color: yellow; height: 100vh;}.column { max-width: 400px; background-color: red; flex-grow: 1;}<div...

View Article

Expanding when hover cards causing a vertical shift of its neighbours [closed]

Im making a 3 x n grid using tailwind CSS.Each item is a classic info card style.When i hover over a card, i want it to expand and look like its popping out a little bit.The problem is the cards are...

View Article


Image may be NSFW.
Clik here to view.

Content inside of flexbox container not displaying links inline

I'm fairly new to flexbox but can't seem to find an answer on here for this. I have a <p> tag which I've made into a flex container, and within the <p> I would like to insert a link inline...

View Article

input / button elements not shrinking in a flex container

When using input and button elements inside a flex container, the flex and/or flex-grow properties don't seem to do anything.Code that demonstrates my issue.button,input { font-size: 1rem;}button {...

View Article


Image may be NSFW.
Clik here to view.

restrict child div height to parent container height [duplicate]

I want the graph div to have a height that stretches all the way to the end of it's parent (graph-container) container, but not extend past it. I have tried setting graph's height to both 100% and...

View Article

Giving wrapped flexbox items vertical spacing

I've recently been playing with Flexbox for the first time and, in general, it's absolutely amazing. I've encountered an issue recently however, where I cannot seem to give flex items that are wrapping...

View Article


CSS flex column wrap inside flex row

I have a between keyboard and chair issue with CSS flexbox when nesting two flexboxes.The body of my HTML document is a flexbox occupying exactly the viewport, so that main can stretch to what header...

View Article

how do i fit the ratio image in explore section? i need to fit and the height...

i hope someone can help for it (look at the bold for the section)i nead to fit my imageHere the preview of the problem for the explore section cause it doesn't fit when it's in destkop ratio, inead...

View Article

Image may be NSFW.
Clik here to view.

How can I insert a box between 2 rows? I don't want that box starts at the...

Obviously is something more complicated but i'd like a clear and simple descriptionI tried with grid and flexbox layout, setted "align-self: center" to the right box, but nothing happens, asked to...

View Article
Browsing all 1312 articles
Browse latest View live