Transparent Color - HTML CSS CSS

HTML CSS examples for CSS:Color

Introduction

The transparent keyword represents a transparent color.

Example

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
 <head>
  <title>CSS transparent Color Keywords</title>
  <style type="text/css">
    h1 {<!--from w  w  w  . ja v a2s  .  co  m-->
        color: transparent;
    }
    p {
        background-color: transparent;
    }
</style>
 </head>
 <body>
  <h1>This is a heading</h1>
  <p>This is a paragraph.</p>
 </body>
</html>

Related Tutorials