CSS - Using transparency – opacity


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your HTML
  1. .transparent {
  2. filter:alpha(opacity=50);
  3. -moz-opacity:0.5;
  4. -khtml-opacity:0.5;
  5. opacity:0.5;
  6. }
  7. Example:
  8. <div class="box transparent">Your content</div>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.