Add a box-shadow property to an ID

Tell us what’s happening:
Describe your issue in detail here.

how to add box-shadow property to id = “thumbnail”;

  **Your code so far**

<h4> {
  text-align: center;
  background-color: rgba(45, 45, 45, 0.1);
  padding: 10px;
  font-size: 27px;    

p {
  text-align: justify;
.links {
  text-align: left;
  color: black;

.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23)";
.cardContent {
  padding: 10px;
.cardText {
  margin-bottom: 30px;
<div class="fullCard" id = "thumbnail">

<div class="cardContent">
  <div class="cardText">
    <p><em>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</em></p>
  <div class="cardLinks">
    <a href="" target="_blank" class="links">Larry Page</a><br><br>
    <a href="" target="_blank" class="links">Sergey Brin</a>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 Edg/95.0.1020.44

Challenge: Add a box-shadow to a Card-like Element

Link to the challenge:

To add a box-shadow on a card-like element you need to add the box-shadow: x-offset y-offset blur-radius spread-radius color to your CSS.

Terminology Exp:
x-offset: Basically means how far you want the shadow to be from the x-axis(horizontally)

y-offset: Means how far you want the shadow to be from the y-axis(vertically)

You can target the id of the element in your CSS by using the # selector and write the box-shadow property

Hi @varun.vaidyanathan !

I would reset the lesson because it looks like you changed code you weren’t supposed to.

Like here

Once you reset the lesson, you should add the box-shadow property only to the #thumbnail id.

Hope that helps!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.