Project based Learning using HTML CSS JS - Day 17

Project based Learning using HTML CSS JS - Day 17

·

1 min read

Today's day 17 Goal is to Build and learn by styling cards giving a visual look, creating a 6 content cards in Html & CSS from YT Tutorial.

HTML

-

CSS

1. how to give border radius in CSS?

  1. Write the following code.
  border-radius: 10px;

2. how to change the opacity of the background card?

  1. Change the last parameter in rgba property.
background-color: rgba(255, 255, 255, 0.09);

3. how to give borderline to a card in CSS?

  1. Write the following code.
border: 1px solid rgba(255, 255, 255, 0.1);

4. How to give cursor input in CSS?

  1. To give choice to select the cards.
  cursor: pointer;

JavaScript

-

Conclusion

  1. Border radius in CSS.

  2. Change the opacity of the background card in CSS.

  3. Borderline to a card in CSS.

  4. cursor input in CSS.

Successfully created 6 cards.

My Code:

day 17 cards.png

Source: YT

Author: Dheeraj.y