Menu
Coddy logo textTech

Class 'circle'

Lesson 25 of 31 in Coddy's 3D Card | Front-end Project course.

challenge icon

Challenge

Easy

Target class ‘circle’:

  1. Set the display to block.
  2. Set position to absolute
  3. Set an aspect-ratio to 1.
  4. Set the border radius to 50%.
  5. Set top and right to 0.

    Add these properties for a good finish:

    background: rgba(0, 249, 203, 0.2);
    transition: all 0.5s ease-in-out;
    box-shadow: rgba(100, 100, 111, 0.2) -10px 10px 20px 0px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);

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 3D Card | Front-end Project