Menu
Coddy logo textTech

Class description

Lesson 14 of 17 in Coddy's Image Accordion | Front-end project course.

challenge icon

Challenge

Easy

Target class 'description’:

  1. Set the display to Flex
  2. Set justify-content to center.
  3. Set flex-direction to column
  4. Set overflow to hidden.
  5. Set the height to 80 pixels.
  6. Set the font size to 13 pixels.
  7. Set the opacity to 0.

Try it yourself

<!DOCTYPE html>
<html>
<head>
    <link rel="stylesheet" href="styles.css">
</head>
    <body>
        <!-- Write HTML code here -->
        <script src="script.js"></script>
    </body>
</html>

All lessons in Image Accordion | Front-end project