<!DOCTYPE html> <html> <head> <style type="text/css"> div{ height:400px; width:100%; background-color:rgba(0,255,0,0.3); border-left:2px solid green; } </style> </head> <body> <div> i am a div element i am designed by the css given in the style tag. my height is 400px.my color is light green and my border is green. </div> </body> </html>
Run
×
Share