Menu
Coddy logo textTech

Container Class

Lesson 6 of 11 in Coddy's Circular Progress Bar | Front-end Project course.

challenge icon

Challenge

Medium

Target class container:

  1. Set the display to flex and align items to center the container element.
  2. Set flex-direction to column
  3. Set the background color of your choice.
  4. Set the width to 400 pixels.
  5. Set the padding and border radius of your choice.
  6. Set a gap of 20 pixels.

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 Circular Progress Bar | Front-end Project