Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
24 views

My layout consists of blocks, each block contains images. Blocks as well as images should wrap if needed to take up the least amount of space possible. It needs to be responsive and fully dynamic. I ...
Beta Carotin's user avatar
  • 1,675
-1 votes
0 answers
36 views

I'm building an analytics dashboard with variable-height cards (e.g., text metrics vs. embedded charts). Using CSS Grid's auto-fit for responsiveness works on desktop, but resizing causes uneven gaps ...
Arshdeep Kaur's user avatar
Advice
0 votes
0 replies
53 views

My professional experience in tech has mostly been on the back-end, but I've been trying to learn more about front-end technologies like React so that I have more tools at my disposal. Broadly ...
Always a Newb at Something's user avatar
1 vote
1 answer
79 views

I have created my hamburger icon with the aid of css but when i tap it it doesnt drop down the navlinks , rather the nav-links cover the page when the screen reduces. As im a beginner in js i think ...
Agwaraonye vivian's user avatar
1857 votes
43 answers
2.4m views

I'm having a hard time getting my head around font scaling. I currently have a website with a body font-size of 100%. 100% of what though? This seems to compute out at 16 pixels. I was under the ...
Francesca's user avatar
  • 28.4k
0 votes
1 answer
69 views

I have created a site using React with TailwindCSS v4.1.16. When running the site in dev mode (npm run dev), the responsive design is working and I can see the changing formats when I resize my screen ...
myers96's user avatar
1470 votes
34 answers
903k views

I want to create a responsive div that can change its width/height as the window's width changes. Are there any CSS rules that would allow the height to change according to the width, while ...
jackb's user avatar
  • 14.7k
0 votes
0 answers
41 views

I'm implementing Stripe's Embedded Checkout in a React Native app using Expo with web support. The checkout form renders successfully, but the input fields are not responsive - they don't scale or ...
mks's user avatar
  • 1
457 votes
34 answers
1.4m views

I've created a site using the Zurb Foundation 3 grid. Each page has a large h1: body { font-size: 100% } /* Headers */ h1 { font-size: 6.2em; font-weight: 500; } <div class="...
user2213682's user avatar
  • 4,585
2 votes
1 answer
91 views

Summary: Existing CSS code for setting an HTML element's width to 100% of viewport width fails when tailwindcss is added. For an element who's display is set to display: flex; the children being ...
Ishan Sathe's user avatar
183 votes
24 answers
360k views

I am facing difficulties to make it responsive according to various screen sizes. How to make it responsive? @override Widget build(BuildContext context) { return new Container( ...
praveen Dp's user avatar
  • 2,936
1 vote
0 answers
158 views

I have this CSS: div#appointmentsCont { width: 80%; max-width: 320px; min-width: 554.5px; } div#appointmentsCont h3 { font-size: clamp(19px, 3vw, 24px); } The <h3> is inside ...
Stefano Quaranta's user avatar
638 votes
9 answers
816k views

Is it possible to set same height as width (ratio 1:1)? Example +----------+ | body | | 1:3 | | | | +------+ | | | div | | | | 1:1 | | | +------+ | | | | | | ...
Thomas Norman's user avatar
347 votes
14 answers
450k views

I want a button to take up the full width of the column, but having difficulties... <div class="span9 btn-block"> <button class="btn btn-large btn-block btn-primary" type="button">...
user1438003's user avatar
  • 6,823
406 votes
18 answers
293k views

Every responsive website development tutorial recommends using the display:none CSS property to hide content from loading on mobile browsers so the website loads faster. Is it true? Does display:none ...
nasty's user avatar
  • 7,137
1 vote
1 answer
85 views

I’m working on a design where I have an S-shaped SVG curve as part of a background behind a containing text and buttons. You can see in my screenshots what I’m trying to achieve: First image: This is ...
rappluk's user avatar
  • 25
602 votes
10 answers
421k views

What is the difference among col-lg-* , col-md-* and col-sm-* in Twitter Bootstrap?
StreetCoder's user avatar
  • 10.1k
0 votes
1 answer
125 views

I’m building a floating chat widget that can be Minimized (small) size: 400 × 600 px (bottom-right corner) sidebar is collapsed (≈ 30 px) and can be toggled open to 100% when the user closes / re-...
Developer Account's user avatar
1 vote
1 answer
72 views

I’m trying to create a responsive layout using CSS Grid. The grid should have a header, main content, and a footer. I’m using grid-template-areas combined with auto-fit and minmax() to make the layout ...
Mohammad's user avatar
244 votes
18 answers
444k views

Currently when the browser width drops below 768px, the navbar changes to collapsed mode. I want to change this width to 1000px so when the browser is below 1000px the navbar changes to collapsed mode....
Nearpoint's user avatar
  • 7,372
202 votes
20 answers
857k views

I need to create a responsive page using bootstrap by position a div at the centre of a page as like in the below mentioned layout.
Rama Priya's user avatar
  • 2,537
353 votes
9 answers
570k views

Looking through bootstrap it looks like they support collapsing the menubar items for smaller screens. Is there something similar for other items on the page? For example, I have a along with nav-...
Kaitlyn2004's user avatar
  • 3,959
189 votes
24 answers
577k views

I was reading Can You Make an iFrame Responsive?, and one of the comments/answers led me to this JSFiddle. But when I tried to implement the HTML and CSS to fit my needs, I didn't have the same ...
Brighton's user avatar
  • 2,163
1 vote
0 answers
65 views

I'm working on an application in flutter, and am having a hard time implementing my UI designers figma design in flutter, using a responsive layout. The designer came up with this: And I was able ...
Evan R.'s user avatar
  • 1,264
0 votes
1 answer
89 views

I'm building a Flutter app that runs on both mobile and desktop platforms, and I'm struggling with implementing responsive navigation that behaves differently based on the platform. Current Setup // ...
Adrien Gannerie's user avatar
1 vote
0 answers
98 views

I’m creating a glass-morphism progress bar made of 10 stacked slices, each with its own backdrop-filter: blur(). It renders perfectly on desktop Chrome/Edge, but on high-DPR mobile screens (Safari iOS ...
MNBLabs's user avatar
  • 116
1 vote
1 answer
287 views

I've built a simple web application using React, and I'm running into an issue with a <textarea> input box. The textarea is set up to allow scrolling when the content overflows, which works fine ...
Ashritha Shankar's user avatar
0 votes
1 answer
80 views

I'm developing a javafx application for a university project. However, I realized that I can't create truly responsive applications without being able to change the order of my elements on the scene. ...
Devma's user avatar
  • 189
0 votes
1 answer
92 views

The banner contains a logo image and a search box. For viewports > 800px wide, the logo should be left-justified and the search box should be right-justified within the banner. For narrower ...
Chap's user avatar
  • 3,855
2 votes
2 answers
73 views

Is there a way to make slanted div on the right side and have rounded corners ? I'm a bit stubborn, so I spent way too much time on this, trying different ways. the following is based on a question ...
HypeWolf's user avatar
  • 872
231 votes
19 answers
885k views

I have a website (g-floors.eu) and I want to make the background (in css I have defined a bg-image for the content) also responsive. Unfortunately I really don't have any idea on how to do this except ...
jochemke's user avatar
  • 2,487
0 votes
1 answer
124 views

I have a Next.js application with a collapsible sidebar and a shared layout. When the sidebar expands or collapses, I want the main content of my pages to always remain horizontally centered within ...
J_Max's user avatar
  • 35
1 vote
0 answers
62 views

I'm building a custom WordPress theme and trying to apply some mobile-specific CSS using media queries. Here's an example of what I'm using: @media (max-width: 700px) { /* mobile styles */ ...
Vishnu Kodidala's user avatar
0 votes
1 answer
125 views

I'm working on my personal website called stellarfacts.com, I've been building it since September. I use two different types of banners, image and video banners. They look good on desktop, but on ...
Explorer's user avatar
-1 votes
1 answer
122 views

I am building a desktop-like interface in HTML/CSS and trying to recreate a Windows-style taskbar. I want the taskbar to behave like in Windows: When many windows/apps are open, the taskbar fills up ...
JRichter's user avatar
0 votes
1 answer
262 views

I’m working on a CSS lab task where we had to make a webpage responsive using media queries. One of the bonus challenges was to add a toggle button for the navigation menu on mobile and I’ve been ...
Phurten Jang Sherpa's user avatar
0 votes
1 answer
75 views

On our website we currently have the Jquery date picker implemented, but my boss would like it if the calendar could just be active the whole time without the user needing to click on it to get the ...
Heather's user avatar
  • 31
0 votes
1 answer
62 views

I’ve searched quite a bit, but none of the other resources matched the specific CSS structure I have. No matter what I tried, my layout never became responsive. I’m very new to CSS and still learning ...
JRichter's user avatar
2 votes
0 answers
76 views

Question: I’m working with Swiper.js slider and have a hover effect on each slide where the slide grows in size and moves upward, overflowing outside the main slider container. My goal is: On hover, ...
ِahmed issa's user avatar
1 vote
0 answers
92 views

I'm developing an email template with MJML and I'm trying to resolve some inconsistencies in Outlook desktop on Windows. My understanding is that MJML generates conditional wrapper tables with a fixed ...
Jos's user avatar
  • 11
116 votes
11 answers
121k views

I've been trying to implement the new srcset approach to responsive images, using the following HTML <img class="swapImages" srcset="assets/images/content/large.jpg 1200w, ...
sygad1's user avatar
  • 1,492
190 votes
6 answers
225k views

I'm wondering how I would go about creating a layout with responsive squares. Each square would have vertically and horizontally aligned content. The specific example is displayed below...
garethdn's user avatar
  • 12.4k
80 votes
26 answers
85k views

I am working on a site using Bootstrap 3.1.0. You'll notice when the modal window opens, the browser scroll bar just disappears for a split second, then comes back. It does the same when you close it....
Daniel White's user avatar
  • 3,387
1 vote
1 answer
135 views

I've been doing some testing with print CSS, and getting wildly different results in different browsers. Considering the example below, Safari prints "This viewport is more than 1200px" ...
Lennart Schoors's user avatar
145 votes
12 answers
148k views

I have a YouTube video embedded on our website and when I shrink the screen to tablet or phone sizes it stops shrinking at around 560px in width. Is this standard for YouTube videos or is there ...
MattM's user avatar
  • 3,237
0 votes
1 answer
43 views

I'm struggling a bit about this code below describing the basic layout of a React / Material UI layout with a toolbar and a sidenavbar. The burger button in the toolbar currently toggles the drawer ...
Sav' O'Annah's user avatar
-1 votes
1 answer
44 views

I have the following design: .cuadro-valores { z-index:10; position:relative; background-blend-mode: multiply; } .grid { display: grid; grid-template-columns: 50px 550px; grid-template-...
Arti's user avatar
  • 1
0 votes
2 answers
89 views

I'm using the following CSS to restrict the content area width of a website to between 320px and 720px: body { min-width: 368px; max-width: 768px; padding-left: 24px; padding-right: ...
user200783's user avatar
  • 14.5k
246 votes
12 answers
146k views

Assume I have a histogram script that builds a 960 500 svg graphic. How do I make this responsive so on resize the graphic widths and heights are dynamic? <script> var n = 10000, // number of ...
Matt Alcock's user avatar
2 votes
3 answers
96 views

I'm trying to change the Text inside a table based on the widthof the screen. This works fine, when i reach the breakpoint. The Problem is, that the text does not change back to the original when i ...
Björn Fallier's user avatar

1
2 3 4 5
350