HTML CSS examples for CSS Widget:Nav Bar
create a radial gradient around navigation
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #grad {<!--from ww w . j a va 2 s. c o m--> width:501px; height:100px; border:solid Chartreuse; background-image:-webkit-radial-gradient(yellow 0%, blue 100px); } #grad p { text-align:center; margin:auto; margin-top:41px; color:pink; } </style> </head> <body> <div id="grad"> <p>Lorem ipsum dolor sit amet, con</p> </div> </body> </html>