Skip to main content

All Questions

0 votes
1 answer
118 views

HTML <picture> tag and common "issues"

I am trying to figure out the usage of <picture> tag, as I have stumbled upon few non-working scenarios, about which I want to ask. Here is a basic HTML <picture> <source srcset="...
Filip5's user avatar
  • 67
-1 votes
1 answer
42 views

why an responsive image is shrinking inside flex container and not taking up whole space on responsive screen sizes?

i want to prevent the image from shrinking inside the flexbox, leaving so much space inside the flex container. In fact, the image is made responsive using the img-fluid class from bootstrap 5 classes....
fathima k's user avatar
-1 votes
1 answer
91 views

How can I write my CSS code to match the given design?

I am new to CSS and I want to write code to match the following design. I have tried lots of properties like position, z-index and so on. I just got stuck. I really need help to make the section ...
Adebimpe Abdulhamid Eniola's user avatar
0 votes
1 answer
15 views

Button and Anchor actions performed when clicking below them while in inspect mode

https://codepen.io/joshleewillis/full/MWZboPm I have linked my project above. The button and tweet link perform as expected on browser and mobile formats. However, once in inspect mode at a media ...
Joshua Willis's user avatar
0 votes
0 answers
44 views

display: none; in media query not working [duplicate]

.albums .next_album { display: flex; justify-content: center; align-items: center; flex-basis: 50px; background: rgba( 255, 255, 255, 0.1 ); box-shadow: 0 8px 32px 0 rgba( 31, ...
Yunes Ehsanpour's user avatar
0 votes
1 answer
175 views

How do I test for css where the width is less than 500px?

I have the following css code: @media only screen and (max-width: 480px) { #globalnav-bag .ac-bag-flyout-container .ac-gn-bagview-button { width: 100% } } The property knows that the ...
user avatar
0 votes
2 answers
894 views

What Device Pixel Ratio should I give to simulate bigger screens in my 1920x1080 laptop?

I am practicing media queries in CSS. I have a 1920x1080 laptop and I want to simulate bigger screens to test the responsiveness of my website. Chrome and Firefox only have phones and tablets by ...
Kalpana Media House's user avatar
0 votes
1 answer
31 views

my media query text is not being responsive

Can I please get some assistance. my media query is not responding properly and I cant figure out whats wrong. My main problem is with the search title, the search input and the search results. I have ...
MGE CustomPrints's user avatar
1 vote
0 answers
116 views

Ability to scope media queries or screen size to element

I think the simplest way to explain the question is with an example. Say I have some interactive builder that allows users to drag and move elements etc.. as well as apply certain predefined styles. ...
Max's user avatar
  • 1,466
0 votes
1 answer
63 views

How to get media query breakpoint to work properly?

I'm learning css positioning and I have a rotated image that goes behind another section on desktop size, but I want to make it take up the whole screen and straighten when the viewport becomes tablet ...
Viktorija's user avatar
0 votes
1 answer
54 views

Javascript that shrinks navigation on page scroll with media queries?

I'm using this W3Schools example to shrink the navigation on page scroll, which works, except I need the ability to fine tune responsive breakpoints beyond what's possible in the example. Does anyone ...
anothercoder's user avatar
0 votes
0 answers
140 views

CSS Media Queries not respected on chrome in iOS when using text-scaling (text-zoom)

When using a CSS media query to set different styles depending on viewport width the media query is not respected by chrome browser running on iOS when using text-scaling/text-zoom in the browser ...
MIstudent's user avatar
-1 votes
2 answers
131 views

Responsive Design: reduce breakpoints

I always wondered if we could reduce breakpoints in a responsive design. Here is a simple example. I have a form containing text inputs. The normal way for responsiveness would be to have many ...
Gabriel Beauchemin-Dauphinais's user avatar
0 votes
0 answers
110 views

Display none is not working in media queries

I am building a React App and I have in project two headers, one for desktop viewports and one for mobile. I set the one for desktop to disappear when user is on a mobile device (display: none). The ...
Alin-Alexandru Peter's user avatar
1 vote
1 answer
70 views

CSS: Absolute div and media query

I assume this has been posted before and I apologize in advance, I'm afraid I didn't find the solution. My issue: I have a design with two divs, one must be transparent on top of the other. I was able ...
pseudodejapris's user avatar

15 30 50 per page
1
2 3 4 5
16