Test of CSS knowledge - Part 8
- Question 1: When the following elements are displayed on the browser, how much is their margin worth?
- 50px, because 20 + 30 = 50
- 30px - get bigger margins
- 20px - margin-top value is preferred.
-
- Question 2: What attribute will transform element from state A to state B?
- transform: perspective (200px);
- transform: skew (45deg, 45deg);
- transform: scale (0.5);
-
- Question 3: Which Selector targets the element
- final?
-
- ul li: last-child
- ul: last-child li
- ul: last-child (li)
-
- Question 4: What is the final background color of this div?
- Red - because the id has a higher priority than the rest
- Blue - because the .blue class format follows the #red id format .
- Purple - mix of red and blue
-
- Question 5: What is the font size of h1 element in pixels?
- 1.5px
- 25px
- 30px
-
- Question 6: What is wrong in the pseudo-element: after in the CSS section below?
- Missing content attribute adds content to the back of the selected element.
- Pseudo-element does not work on the heading
- The left value has no value for the unit as a percentage.
-
- Question 7: Where is not an attribute in CSS?
- object-fit
- pointer-events
- font-smoothing
- text-opacity
-
- Question 8: To select the last element in the list below, how do we use the selector nth-child ()?
- ul li: nth-child (last)
- ul li: nth-child (2)
- ul li: nth-child (3)
-
- Question 9: Which containers are centered (both vertical and horizontal) inside elements?
- A
- B
- C
-
- Question 10: Which of the following answers contains invalid CSS?
- margin: 10px 8px 5px;
- margin: -20px;
- margin: auto;
- All answers are valid.
-
5 ★ | 1 Vote
You should read it
- Test of CSS knowledge - Part 6
- Test of CSS knowledge - Part 5
- What do you know about programming language C # P1
- eQuiz - Test of knowledge about the browser
- Test common knowledge about social culture P1
- Test common knowledge about social culture P2
- Set of multiple choice questions about programming with P12
- Test general knowledge about social culture P3
May be interested
- Testing computer science knowledge, doing a bit of fun (part 7)after part 6, network administrator continues to introduce part 7. let's try to see how many answers you can answer?
- Testing computer science knowledge, doing little for fun (part 9)after section 8, network administrators continue to introduce part 9 of the series of computer science knowledge tests.
- Test of terminology and technology - Part 10test your technology knowledge with 30 technology multiple choice questions below.
- [QUIZ] Test your understanding of SQL - Part 3the test set comes with sql lessons that give you lots of useful knowledge.
- Testing computer science knowledge, doing little for fun (part 4)after the previous sections, network administrator continues to introduce part 4.
- Multiple choice quiz about Python - Part 10following the previous test, part 10 returned with the python function. let's try with quantrimang to try the 10 questions below.
- [QUIZ] Test your understanding of SQL - Part 5multiple-choice questions on sql help you familiarize and review useful knowledge for work and learning sql language.
- [QUIZ] Check your understanding of SQL - Part 2continue series what do you know about sql? , part 2 continues with questions that revolve around basic knowledge in databases.
- eQuiz - Multiple choice test on programming language C - part 1this is part 1 of a series of tests on knowledge of c programming language, in total there will be 15 questions with no time for answering each sentence.
- [QUIZ] Test your understanding of SQL - Part 4let's try our knowledge with multiple choice questions about sql database management system.