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
- Test of CSS knowledge - Part 9read on to continue your knowledge with the sequel to tipsmake.com's css test series. the question set will have 10 sentences to try.
- You have confidence in your Network Administration knowledge P10in order to become a network administrator, you need to master the knowledge related to this topic. to help readers gain more knowledge about network administration, the following test will give you many useful things.
- What do you know about the outstanding features on Bphone 3in this quiz, please join the network administrator to learn about the outstanding features on the recently launched bphone 3 phone of bkav.
- Test on JAVA P10 testmultiple choice questions on java programming help you test your basic knowledge of this programming language. the set of questions includes 10 sentences to try.
- What do you know about Smalltalk programming language?smalltalk is the first, dynamically and reflexively object-oriented programming language developed at xerox palo alto research center (parc) in early 1970. the quiz below is with network administrator. let's learn more about this programming language.
- Multiple choice questions about P2 computer virusesfor computer users, viruses are the fear of many people. when your computer unfortunately gets infected with the virus it will put your computer at risk of losing all important data, slowing down your computer, causing system errors ... in the following article please join network administrators learn about this topic through the quiz below.