css-exam 0 votes, 0 avg 556 123456789101112131415 CSS Questions 1 / 15 1. Which of the following property sets the background image to scroll or not to scroll with its associated element’s content? A. background-scroll B. background-attach C. background-attachment D. background-allowance 2 / 15 2. Which of the following CSS Property defines which property values to apply to the element before the animation begins (if delayed) and after it ends? A. animation-play B. animation-delay C. animation-play-state D. animation-fill-mode 3 / 15 3. What is CSS? A. CSS is a style sheet language B. CSS is designed to separate the presentation and content, including layout, colors, and fonts C. CSS is the language used to style the HTML documents D. All of the mentioned 4 / 15 4. What will be the output of following CSS code snippet? h1 {color: red text-decoration: underline; font-style: italic;} A. color: red, text-decoration: underline works B. only font-style: italic works C. color: red, text-decoration: underline and font-style: italic all works D. text-decoration: underline and font-style: italic works 5 / 15 5. Which of the following properties will we use to display border around a cell without any content.? A. empty-cell B. blank-cell C. noncontent-cell D. void-cell 6 / 15 6. If we want to show an Arrow as cursor, then which value we will use? A. pointer B. default C. arrow D. cursor 7 / 15 7. Which of the following property will be used to display border around a cell without any content? A. Noncontent-cell B. Blank-cell C. Empty-cell D. Void-cell 8 / 15 8. What will be the output of the following CSS code snippet? span { border: 1px solid red; outline: green dotted thick; } A. All span elements will have a green thick border and a red outline B. All span elements will have a red border and a green dotted outline C. All span elements will have a outer green dotted border and an inner red border D. All span elements will have an outer red border and inner green dotted border 9 / 15 9. What is not a valid way of declaring a padding value of 10 pixels on the top and bottom, and 0 pixels on the left abd right? A. padding:10px 10px 0px 0px; B. padding:10px 0px ; C. padding:10px 0; D. padding:10px 0px 10px 0px; 10 / 15 10. In the below code snippet, in what order will the margins be added? p { margin: 25px 50px 75px 100px; } A. Top, Right, Bottom, Left B. Top, Left, Bottom, Right C. Top, Bottom, Right, Left D. Right, Left, Top, Bottom 11 / 15 11. Which one can animate the width of search input when get focus? A. focus B. outline C. transition D. color 12 / 15 12. Which property specifies where the background image is positioned? A. background-image B. background-origin C. background-position D. background-clip 13 / 15 13. In the following media query example, what conditions are being targeted? @media(min-width:1024px),screen and (orientation: landscape){…..} A. The rule will apply to a device that has a width of 1024px or narrower and is a screen device in landscape mode. B. The rule will apply to a device that has a width of 1024px or wider and is a screen device in landscape mode. C. The rule will apply to a device that has width of 1024px or narrower. Or is a screen device in landscape mode. D. The rule will apply to a device that has either a width of 1024px or wider, or is a screen device in landscape mode. 14 / 15 14. What scales the background image as large as possible? A. contain B. cover C. wrap D. resize 15 / 15 15. Which of the following CSS Property determines whether an animation should run in reverse on some cycles? A. animation B. animation-run C. animation-repeat D. none of the above Your score isThe average score is 49% LinkedIn Facebook VKontakte 0% Restart quiz By Wordpress Quiz plugin