CSS create a circle / border-radius effects /

CSS  create a circle  /  border-radius effects

   <html>
  <head>
    <title> border-radius </title>
  </head>
  <body>
    
    <div>
      hello
    </div>
   
  </body>
---------------------------------------------------------------------------------------------------
div { height:150px;
      width:150px;
      background-color:black;
      color:grey;
      border-radius:50%;
      line-height:150px;   //use ---line-height & text-align to adjust word //
      text-align:center;
      }
-------------------------------------------------------------------------------------------------
--------------------------------------------------------------


Comments

Popular posts from this blog

Linear Gradients css

box-shadow / https://caniuse.com/ Statcounter / 網站上面都會有一個小小的圖標