When.com Web Search

Search results

  1. Results From The WOW.Com Content Network
  2. Responsive Web Design - Media Queries - W3Schools

    www.w3schools.com/css/css_rwd_mediaqueries.asp

    What is a Media Query? Media query is a CSS technique introduced in CSS3. It uses the @media rule to include a block of CSS properties only if a certain condition is true.

  3. CSS Media Queries - W3Schools

    www.w3schools.com/css/css3_mediaqueries.asp

    Media queries in CSS3 extended the CSS2 media types idea: Instead of looking for a type of device, they look at the capability of the device. Media queries can be used to check many things, such as: width and height of the viewport. orientation of the viewport (landscape or portrait) resolution.

  4. CSS3 Media Queries - Examples - W3Schools

    www.w3schools.com/Css/css3_mediaqueries_ex.asp

    Media Queries For Menus. In this example, we use media queries to create a responsive navigation menu, that varies in design on different screen sizes. Large screens: Home Link 1 Link 2 Link 3. Small screens: Home Link 1 Link 2 Link 3.

  5. CSS @media Rule - W3Schools

    www.w3schools.com/cssref/css3_pr_mediaquery.php

    The @media rule is used in media queries to apply different styles for different media types/devices. Media queries can be used to check many things, such as: width and height of the viewport. width and height of the device. orientation (is the tablet/phone in landscape or portrait mode?)

  6. CSS Using Variables in Media Queries - W3Schools

    www.w3schools.com/css/css3_variables_mediaqueries.asp

    Using Variables in Media Queries. Now we want to change a variable value inside a media query. Tip: Media Queries are about defining different style rules for different devices (screens, tablets, mobile phones, etc.). You can learn more Media Queries in our Media Queries Chapter.

  7. How To Specify Typical Device Breakpoints With Media Queries -...

    www.w3schools.com/howto/howto_css_media_query_breakpoints.asp

    Learn how to use media queries for common device breakpoints. Typical Device Breakpoints There are tons of screens and devices with different heights and widths, so it is hard to create an exact breakpoint for each device.

  8. How To Use Media Queries in JavaScript - W3Schools

    www.w3schools.com/howto/howto_js_media_queries.asp

    Media queries are used to determine the width and height of a viewport to make web pages look good on all devices (desktops, laptops, tablets, phones, etc). The window.matchMedia() method returns a MediaQueryList object representing the results of the specified CSS media query string.

  9. Responsive Web Design - The Viewport - W3Schools

    www.w3schools.com/css/css_rwd_viewport.asp

    Use CSS media queries to apply different styling for small and large screens - Setting large absolute CSS widths for page elements will cause the element to be too wide for the viewport on a smaller device. Instead, consider using relative width values, such as width: 100%.

  10. How To Create a Responsive Top Navigation Menu - W3Schools

    www.w3schools.com/howto/howto_js_topnav_responsive.asp

    Learn how to create a responsive top navigation menu with CSS and JavaScript. Responsive Navigation Bar Resize the browser window to see how the responsive navigation menu works:

  11. Responsive Web Design - Introduction - W3Schools

    www.w3schools.com/Css/css_rwd_intro.asp

    Web pages should not leave out information to fit smaller devices, but rather adapt its content to fit any device: It is called responsive web design when you use CSS and HTML to resize, hide, shrink, enlarge, or move the content to make it look good on any screen.