How to use the keyword transparent when setting it to color

Welcome to the Get Help category!

This is where you can ask questions about your code. Some important things to remember when posting in this category :slight_smile:

  • Learn how to ask a good question and get a good answer!
  • Remember to include a link to the exercise you need help with!
  • If someone answers your question, please mark their response as a solution :white_check_mark:
  • Once you understand a new concept, come back and try to help someone else!

please how do i use the keyword transparent
the color blue disappears when i write this code
color: transparent blue;

Heya,

Instead of using transparent, as I believe this renders it completely see-through, you’ll want to use opacity instead:

.box {
  /* 50% transparent */
  opacity: 0.5;
}

As an aside, please make sure you remove the starting text from your topic before posting it.

Ok thank you so much

1 Like

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