Menu
Coddy logo textTech

Class 'social-button'

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

challenge icon

Challenge

Easy

Target class 'social-button':

  1. Set the width to 30 pixels. 
  2. Set an aspect-ratio of 1.
  3. Set padding to 5px 
  4. Set the background to white.
  5. Set the border radius to 50%.
  6. Set the border to none.
  7. Set the display to grid. 
  8. Set place-content to center. 
  9. Add this box-shadow property:

    box-shadow: rgba(5, 71, 17, 0.5) 0px 7px 5px -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