Giter VIP home page Giter VIP logo

fe-quiz-05-seiji-test-001's Introduction

Positioning, Sprites, & Media Queries

???

Quiz

?: Select the most appropriate CSS declaration to set an element to absolute positioning in the top right corner.

( ) position: top right; (X) position: absolute; top: 0; right: 0; ( ) position: absolute; top: 0; left: 0; ( ) None of the above.

?: Fill in the blank: ________ positioning makes an element appear in the same place relative to the browser window even when scrolling occurs.

( ) absolute ( ) static (X) fixed ( ) inherent

?: Fill in the blank: Elements with a _________ z-index will appear above other elements.

( ) lower (X) higher ( ) the same ( ) negative

?: Fill in the blank: Combining multiple image states into a single graphic image is called a ________ image.

(X) Sprite ( ) Pixie ( ) Combo ( ) Dwarf

?: True or false: A meta tag with the name of viewport allows us to set the device width, initial scale, and maximum scale, so we can disable zoom in the browser.

(X) TRUE
( ) FALSE

?: True or false: We can link to JavaScripts like Google Codes CSS3 media queries fix or modernizer with CSS fix to create compatibility of our media queries in older browsers.

(X) TRUE ( ) FALSE

?: Select the most appropriate CSS media query to change the #wrapper to a 90% fluid width when the screen size is less than or equal to 1024 pixels wide.

( ) @media only screen and (min-width: 1024px) { #wrapper { width: 90%; } } (X) @media only screen and (max-width: 1024px) { #wrapper { width: 90%; } } ( ) @media all and (min-width: 1024px) { #wrapper { width: 90%; } } ( ) @media print and (max-width: 1024px) { #wrapper { width: 90%; } }

?: Select the most appropriate CSS media query to change the nav font-size to 1.5 em when the screen size is less than 1024 pixels wide and greater than 480 pixels wide on any type of device.

( ) @media only screen and (min-width: 1024px) { nav { font-size: 1.5em; } } (X) @media (min-width: 481px) and (max-width: 1023px) { nav { font-size: 1.5em; } } ( ) @media all and (min-width: 480px) and (max-width: 1024px) { nav { font-size: 1.5em; } } ( ) @media print and (min-width: 480px) and (max-width: 1024px) { nav { font-size: 1.5em; } }

?: Select the most appropriate CSS media query to set the sections to stop floating on screen devices with an available width of 480 pixels or less.

(X) @media only screen and (max-width: 480px) { section { float: none; } } ( ) @media (min-width: 480px) { section { float: none; } } ( ) @media all { section { float: none; } } ( ) @media only screen and (width: 480px) { section { float: none; } }

???

View on Learn.co and start learning to code for free.

View Responsive Layout Quiz on Learn.co and start learning to code for free.

fe-quiz-05-seiji-test-001's People

Contributors

fislabstest avatar annjohn avatar fs-lms-test-bot avatar pletcher avatar kode-tiki avatar jongrover avatar victhevenot avatar

Watchers

James Cloos avatar Mat Balez avatar Kaitlin Vignali avatar  avatar  avatar  avatar

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.