Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link ref="stylesheet" type="text/css" src="style.css">
- <style id="jsbin-css">
- div {
- width: 150px;
- height: 150px;
- border: 2px solid black;
- display: inline-block;
- margin: 20px;
- }
- #name {
- background: black;
- }
- #hex {
- background: #000000;
- }
- #rgb {
- background: rgb(0,0,0, 0.2);
- }
- </style>
- </head>
- <body>
- <div id="name"></div>
- <div id="hex"></div>
- <div id="rgb"></div>
- <script id="jsbin-source-css" type="text/css">div {
- width: 150px;
- height: 150px;
- border: 2px solid black;
- display: inline-block;
- margin: 20px;
- }
- #name {
- background: black;
- }
- #hex {
- background: #000000;
- }
- #rgb {
- background: rgb(0,0,0, 0.2);
- }</script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement