Posts

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

Image
 box-shadow:{ 10px 10px 10px grey;   }         (box-shadow:X-asix Y-asix blur color)  It can be use on hover : .box2:hover{box-shadow:0px 0px 15px black;} https://codepen.io/demi-chen/pen/JjYqmwz ---------------------------------------------------------------------------------------- browser capacity  so you can go can i use web   https://caniuse.com/ to check what kind of css you can use on your websit some time you need to add prefix  such as  webkit   - webkit-box-shadow: 10px 10px 10px pink;  ----------------------------------------------------------------------------------------------------------------- 使用 Statcounter 瀏覽各國瀏覽器趨勢 ---------------------------------------------------------------------------- CSS 權重觀念 HTML tag 1 point . Class tag 10 point # ID 100 point  <p style= "color:red">  1000 point 1000000 point .class { color: blue ! important } ----------------------------------------...

Linear Gradients css

Linear Gradients (goes down/up/left/right/diagonally) Radial Gradients (defined by their center)   reference:  https://www.w3schools.com/css/css3_gradients.asp    background-image: linear-gradients ( direction, color, color )    background-image: linear-gradients (background-image:linear-         gradient(rgba(62,62,75,0),rgba(62,62,75,0.6));}  半透明質  the last number shows the transparency  0~1 https://codepen.io/demi-chen/pen/LYpvYBy

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;       } ------------------------------------------------------------------------------------------------- https://codepen.io/demi-chen/pen/abvrpbr --------------------------------------------------------------