Have you tried adding the viewport in?
<meta name="viewport" content="width=device-width, initial-scale=1">
Viewport is used when rendering responsive pages and is therefore mostly used when dealing with mobile websites, but when dealing with media queries it helps tell the CSS what the actual device-width is.
Related Contents:
- Is it possible to put CSS @media rules inline?
- Why are my CSS3 media queries not working on mobile devices?
- IE8 support for CSS Media Query
- Media Queries firing at wrong width
- CSS media queries for screen sizes
- Fixed background image with ios7
- Media Queries for Different zoom Levels of Browser
- How to set portrait and landscape media queries in css?
- Media Queries: check min-height and min-width?
- How do I give text or an image a transparent background using CSS?
- How can I select an element with multiple classes in jQuery?
- Remove border from IFrame
- make div’s height expand with its content
- How can I have two fixed width columns with one flexible column in the center?
- change cursor to finger pointer
- How can I scale the content of an iframe?
- Setting a max character length in CSS
- Disable Scrolling on Body
- How can I scale an entire web page with CSS?
- Equal width columns in CSS Grid
- Wrap a text within only two lines inside div
- Prevent “overscrolling” of web page
- Turn off Chrome/Safari spell checking by HTML/css [duplicate]
- How to center a checkbox in a table cell?
- How to fallback to local stylesheet (not script) if CDN fails
- Body height 100% displaying vertical scrollbar
- Align two divs horizontally side by side center to the page using bootstrap css
- How do I make the whole area of a list item in my navigation bar, clickable as a link?
- What are best practices to order elements in ?
- How can I write ‘a:hover’ in inline CSS?
- How to align horizontal icon and text in MUI
- Is there any way to have a fieldset width only be as wide as the controls in them?
- Difference between position:sticky and position:fixed?
- How to blur(css) div without blur child element [duplicate]
- How To Isolate a div from public CSS styles?
- Make TBODY scrollable in Webkit browsers
- HTML: can I display button text in multiple lines?
- Table columns, setting both min and max width with css
- Bootstrap: pull left and right in panel footer breaks footer
- prevent div’s from taking 100% width
- How to get a Bootstrap dropdown submenu to ‘dropup’
- How do I specify in HTML or CSS the absolute minimum width of a table cell
- Removing border from table cells
- How to style a disabled checkbox?
- Margin on every element except last
- How to apply CSS and Styling to a React component
- Bootstrap 3 .img-responsive images are not responsive inside fieldset in FireFox
- How to use css to change font size
- Break long word with CSS
- Cannot undo text-decoration for child-elements