Code Monkey home page Code Monkey logo

ma_task_5_mediaqueries's Introduction

MA_Task_5_MediaQueries

Practice of using media queries

Landscapes

Values:
  - large desktop: 1800px
  - medium desktop: 1200px
  - Tablet Landscape: 960px
  - Tabled Portrait: 768px
  - mobile: 320px

Instructions:

From large Desktop

  1. 1 block -> 4 elements in a row: all equal width
  2. 2 block -> 2 elements in a row: all equal width
  3. 3 block -> 3 elements in a row: 1 -> 50%, 2 and 3 -> 25%
  4. 4 block -> 3 elements in a row: 1 -> 25%, 2 -> 25% and 3 ->50%
  5. 5 block -> 5 elements in a row: all equal width

From medium desktop to large desktop

  1. 1 block -> 2 elements in a row: all equal width, so it will have 2 rows width: 50%
  2. 2 block -> 2 elements in a row: all equal width
  3. 3 block -> 3 elements: 1 -> 50%, 2 -> 50% and last 100%
  4. 4 block -> 3 elements in a row: 1 -> 35%, 2 -> 30% and 3 ->35%
  5. 5 block -> 3 or 2 elements in a row, all 33% width, centered in center of parent block

From Tablet Landscape to medium desktop

  1. 1 block -> 2 elements in a row: all equal width, so it will have 2 rows width: 50%
  2. 2 block -> 2 elements in a row: all equal width
  3. 3 block -> 3 elements in a row: all equal width
  4. 4 block -> 3 elements in a row: 1 -> 35%, 2 -> 30% and 3 ->35%
  5. 5 block -> 2 elements in a row, all equal width, the last one should be 100% width

From Tablet Portrait to Tablet Landscape

  1. 1 block -> all elements width: 50%
  2. 2 block -> all elements width: 50%
  3. 3 block -> 1 element in a row, full width
  4. 4 block -> 1 and second: 50% and last element 100% width
  5. 5 block -> 2 elements in a row, 50% width, last one is 100% width

From Mobile to Tablet Portrait

  1. 1 block -> all elements width: 50%
  2. 2 block -> all elements width: 50%
  3. 3 block -> 1 element in a row, full width 100% for all
  4. 4 block -> 1 element in a row, full width 100% for all
  5. 5 block -> all elements in 100% width

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.