LinkedIn CSS Skill Assessment Quiz Answers

In this image, the blue box and sample text are both contained within the same parent element. The blue box is floated on the left margin of the container. Why is it not contained with the container?

Latest Update on 23rd March, 2022 by Certification Course Answers

In this image, the blue box and sample text are both contained within the same parent element. The blue box is floated on the left margin of the container. Why is it not contained with the container?

  1.  floating the blue box increased its height.
  2.  floating the blue box on the left also moves it down.
  3.  floating the blue box actually shifts it to the right and down.
  4.  floating the blue box took it out of document flow and the container is sized only to the sample text.

Correct Answer:

  •  floating the blue box took it out of document flow and the container is sized only to the sample text.

Latest Updates

No posts found in this category.