MCQOPTIONS
Bookmark
Saved Bookmarks
→
Css
→
Basic Css
→
What does this code do?
1.
What does this code do?
_@media only screen and (max-width_ 500px) { body { background-color_ lightblue
A.
Nothing happens
B.
The background color will change to lightblue
C.
If the browser window is larger than 500px, the background color will change to lightblue:
D.
If the browser window is smaller than 500px, the background color will change to lightblue:
E.
None of these
Answer» E. None of these
Show Answer
Discussion
No Comment Found
Post Comment
Related MCQs
What does this code do?<br><pre class="prettyprint lang-c">Code:<br>@media only screen and (max-width: 768px) {<br> class*="col-"] {<br> width: 100%;<br> }<br>}<br></pre>
What should be written in the blank of the code for JQuery Code Used to Apply CSS3 Animations?<br><pre class="prettyprint lang-c">Code:<br>_________ leftmove {<br>100% { transform: translateX(-70px); opacity: 1; }<br>}<br>_________ rightmove {<br>100% { transform: translateX(70px); opacity: 1; }<br>}<br><script><br>$(function() {<br>var footerBottom = $("#articlefooter").offset().top + $("#articlefooter").height();<br>$(window).scroll(function() {<br>if ($(this).scrollTop() > (footerBottom - $(window).height())) {<br>131<br>$("#prevpage").css('animation', 'leftmove 1s 2s forwards');<br>$("#nextpage").css('animation', 'rightmove 1s 1s forwards');<br>});<br>});<br></script><br></pre>
What should be written in the blank of the code for resizing elements in Responsive Web Design with Transitions.<br><pre class="prettyprint lang-c">Code:<br>body { background-image: url(fog.jpg); background-size: cover;<br>background-repeat: no-repeat; color: #fff; font-family: Avenir, Arial, sans-serif;<br>}<br>h1 { font-family: 'Calluna Sans', Arial, sans-serif; text-align: center;<br>font-size: 10rem; margin: 8rem auto;<br>}<br>h1 { font-family: 'Calluna Sans', Arial, sans-serif;<br>text-align: center; font-size: 10rem; margin: 8rem auto; transition: 1s font-size linear;<br>}<br>______________ and (max-width: 1100px) {<br>h1 { font-size: 8rem; }<br></pre>
What does this code do?<br><pre class="prettyprint lang-c">@media only screen and (orientation_ landscape) { body { background-color_ lightblue<br></pre>
What does this code do?<br><pre class="prettyprint lang-c">_@media only screen and (max-width_ 500px) { body { background-color_ lightblue<br></pre>
What does this code do?
Which of the following element is used to create a circle?
Which of the following element is used to create an SVG ellipse?
Which of the following element is used to create a SVG rectangle?
Which of the following element is used to begin an SVG image?
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply