HTML
background-image:url("https://xxx.jpg") 呈現一張圖片地址 background-size 圖片尺寸 background-position 圖片呈現位置 background-repeat 圖片重複的效果 background-color 背景顏色
CSS Background Patterns 簡易單色背景 CSS 語法產生器。 如果你的網站需求是需要一些單色的背景紋理圖案,來避免略顯單調的白色的話, 這個 CSS Background Pattern 網站所提供的服務就非常適合。你只需要決定前景、 背景色、透明度和紋理間的間隔,就可以即時預覽結果,並複製相關的 CSS 程式碼 到你的網站作使用。
border-style 屬性指定邊框的樣式。
border: 10px ridge pink border-radius:50% 50% 50% 50%
border: 10px ridge pink border-radius:40px 40px 40px 40px
左邊框為實線 border-left-style:solid 上邊框為實線 border-top-style:dashed 下邊框為虛線 border-right-style:dotted 且顏色為綠色 border-bottom-style:double
border: 10px solid brown; border-radius: 100px; height: 100px ; width: 100px;
border: 10px solid gold; border-radius: 150px; height: 150px ; width: 100px
border: 10px solid bisque; border-radius: 50px 0 0 50px; width:50px ; height:100px;
border: 10px solid blueviolet; border-radius: 0 50px 50px 0 ; width: 50px;height: 100px;
border: 1px solid lawngreen; border-radius: 50px 50px 0 0; width:100px ; height:50px;
border: 2px solid orchid; border-radius: 0 0 50px 50p ; width: 100px;height: 50px;
border: 5px solid bisque; border-radius: 50px 0 50px 0 ; width:100px ; height:50px;
border: 3px solid salmon; border-radius: 0 50px 0 50p ; width: 100px;height: 50px;
文字陰影 {text-shadow: 向右移動 向下移動 模糊度 陰影色 }, 陰影效果 { text-align: center; font-weight : bold; text-shadow:5px 5px 10px black ; } 字型輪廓{ color: white; letter-spacing: 3px; font-weight:bold ; text-shadow: -2px 0 0 black, 0 2px 0 black, 2px 0 0 black, 0 -2px 0 black; } 活動陰影{ animation: mymove 5s infinite; } @keyframes mymove{10% {text-shadow:10px 10px 20px gold;} 25% {text-shadow:0px 20px 20px red; } 35% {text-shadow:-10px 10px 20px gold; } 45% {text-shadow:-10px 10px 20px orangered; } 55% {text-shadow:-10px 1px 20px orange; } 65% {text-shadow:-10px -10px 20px tomato; } 75% {text-shadow:10px -10px 20px darkorange; } 85% {text-shadow:0px -10px 20px red; } 100% {text-shadow:10px 0px 20px deeppink; } } }