Container grid size with Flexbox and (media query) Javascript
I do Etch-a-Sketch - https://www.theodinproject.com/lessons/foundations-etch-a-sketch . But I want do something more than the assignment.I need do this ONLY with Flexbox and JavaScript (without CSS...
View ArticleKubuntu 23.10 Set keyboard backlight always on in Lenovo Ideapad flex 5 [closed]
I'm really tired of fading down after seconds of inactivity keyboard backlight...I've tried:xset -led 3i've searched all over internet - lenovo support is awfuli've asked openai - no luckHere is my...
View ArticleCreating a grid with same cell size but image can take multiple cells?
I thought I am trying to do something simple, but I can't figure out how to do it.I will provide the playground link at the end: I want to create a grid like view where we have a given amount of cells....
View ArticleHow to properly resize single row/column in flexbox
Here is what I have:And here is what I need:is there a way to set second item height to max window height without setting "height" property?My code in React.jsreturn (<div className="App" style={{...
View ArticleNative android component in React Native doesn't have his own space like height
I'm trying to implement a native android component written in Kotlin and XML for react-native.Kotlin class:class AffirmButtonManager( private val callerContext: ReactApplicationContext) :...
View ArticleReplicating calendar layout from leetcode with flexbox but gaps are uneven...
I'm trying to replicate the calendar feature from leetcode's profile page, as it is hereafter. [\[calendar feature from leetcode\](https://i.stack.imgur.com/OMUSJ.jpg)][1]It's done with svg so the...
View Articleflex-flow: column wrap, in a flex box causing overflow of parent container
I have this scenario:https://jsfiddle.net/b6zcdgf7/.container{ display:flex; height:3em; border:solid thin blue;}.section{ border:solid thin gray; display:flex;}.section.horiz{}.section.vert{...
View ArticleHow to make a three column, dynamic height grid with css [duplicate]
I'm trying to make a view for my website for reviews. Some reviews are longer than others, so the div containers of these reviews are going to be taller than other div containers. I've attached a...
View Articlesingle Read more/read less button working for 2 flex items with text in a...
Im having a problem. I am by no means a professional, yet I find myself having to do a simple bit of webdesign.The problem is, I cant seem to get a read more/read less button and function to work on...
View ArticleWhy is child with "min-height: 100%" taking no space, when parent clearly...
I have a section element that has its min-height set to 100%, but its not taking up any space.The parent (main) clearly has a height of 525px.I don't know if its relevant, but the parent is a child of...
View ArticleDiv is not floating right, problem seems to be linked to the CSS already in...
I am currently attempting to make a simple header with HTML and CSS. I have encountered a problem where my button list is not floating to the right, giving the site an odd appearance.I tried floating...
View ArticlePlacing a CSS grid layout inside a flexbox results in a broken layout only in...
The problem is basically stated in the title, and it occurs only under these conditions:parent element is display: flex; (or inline-flex), flex-direction: column;, and flex-wrap: wrap;child element is...
View ArticleCSS dynamic layout for mega menu that reads in rows or columns depending on...
I'm doing some prototyping for a mega menu where the menu items should be displayed "smart" where, depending on the number of menu items, they would read either as a row or columns.The menu items would...
View ArticleResponsive image-copy module where the image maintains its aspect ratio and...
I feel like I'm missing something obvious here, but I've tried everything I can think of with flexbox and grid. I have an image next to a block of copy.As the viewport widens, the copy cell gets wider...
View ArticleTailwind - How do I wrap flex cards that have a class of relative without...
How do I place flex cards created in Tailwind that have the following class side by side in columns of 3 and rows of 4 without their original shape changing?class="relative isolate flex flex-col...
View ArticleAdjusting positioning of items in a CSS grid based on contents
I have a CSS grid with three elements in it. A header and two content areas. My grid is defined as having two 50% width columns.my-grid {display: grid;grid-template-columns: 50% 50%;}What I am trying...
View ArticleHow to make my HTML code responsive? Does it need flex code or responsive code?
so I'm making a neocities and I'm relatively new to HTML (but I'm picking it up quick), so I'm getting a lot of help from the internet lol. I've been grinding on it for about a week now. Right now, my...
View ArticleHow do I add a border between two flex items? [duplicate]
I'm trying to add a border between two row flex items, however whenever I add one, the flex items stay in top of eachother instead of being next to eachother, here is an example:This is how I want it...
View ArticleMake flex items overlap
I'd like to show a horizontal series of a unknown number of playing cards. To do this, they will have to overlap if there are too many. I'm having trouble convincing a flex box to overlap the cards...
View ArticleHow to keep 1:1 aspect ratio for the child canvas element?
I have prepared a simple test web page at Github (using the main.css file) for my question:In a vertical flexbox layout I am trying to use ResizeObserver to watch a parent div element with flex-grow:1...
View Article