Movatterモバイル変換


[0]ホーム

URL:


Skip to content
DEV Community
Log in Create account

DEV Community

Cristal
Cristal

Posted on

     

Learning About: Building Responsive Websites

I'm currently learning about designing and coding responsive websites.

To get a good understanding of what a responsive website is, it's pretty important to understand what a responsive websiteisn't. Or, in other words, it's important to understand whatother types of websites exist and that we interact with.

3 types of non-responsive websites:

  1. Static:
    These websites are designed for desktops and desktops only, and are built with a fixed width. We want to avoid building these as much as possible!

  2. Fluid:
    These websites are, well, fluid. All websites are fluid if you don't specify a width, actually. Fluid sites work on all devices and if widths are specified, they are done so in percentages as opposed to pixels. The thing to note here is that the layout never changes.

  3. Adaptive:
    Adaptive sites, you guessed it, adapt to the width of their device. The hitch? Widths have to be specified for EVERY. SINGLE. DEVICE. Which means that you need different stylesheets for EVERY. SINGLE. DEVICE.

Responsive Websites:

  • Are a fabulous combination of easily maintained fluid websites with user optimized adaptive websites.

  • Combine the ability to specify widths in percentages and also declare minimum widths in pixels.

  • Use media queries to specify sizes, and can coexist in the same stylesheet. SCORE!

Next up: Media Queries

Top comments(0)

Subscribe
pic
Create template

Templates let you quickly answer FAQs or store snippets for re-use.

Dismiss

Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment'spermalink.

For further actions, you may consider blocking this person and/orreporting abuse

I went from traveling all over the United States asking people what they ate the day before to coding for a living (sort of). You can now find me writing here on Dev.to about my current shenanigans!
  • Location
    CA
  • Education
    Flatiron School
  • Work
    Seeking New Opportunities at N/A
  • Joined

More fromCristal

DEV Community

We're a place where coders share, stay up-to-date and grow their careers.

Log in Create account

[8]ページ先頭

©2009-2025 Movatter.jp