html-css-learning
  • Introduction
  • 一、網頁編輯器、HTML 基礎教學
  • 二、CSS 常用語法
  • 三、使用 CSS 變更 HTML 標籤特性
  • 四、網頁排版技巧 Part I
  • 六、網頁排版技巧 Part II
  • 七、切圖技巧
  • 八、表格與表單設計技巧
  • 九、CSS3技巧
  • 十、最後,讓你的網頁變得更專業
  • 十一、開發多頁式實戰講解
  • 十二、接下來,你還可以學什麼?
Powered by GitBook
On this page
  • 9-62 CSS3 圓弧效果
  • 9-63 CSS3 漸層效果
  • 9-64 CSS3 陰影效果
  • 9-65 使用 can I use 查詢 HTML、CSS 瀏覽器兼容度
  • 9-66 使用 Statcounter 瀏覽各國瀏覽器趨勢

Was this helpful?

九、CSS3技巧

Previous八、表格與表單設計技巧Next十、最後,讓你的網頁變得更專業

Last updated 5 years ago

Was this helpful?

9-62 CSS3 圓弧效果

垂直置中

.box {
  box-sizing: content-box;

  height: 150px;  
  width: 150px;   
  background-color: red;
  border-radius: 50% ;
  border: 10px solid blue;

  color: rgb(240, 255, 253);
  font-size: 28px;
  text-align: center;
  line-height: 150px;
}

9-63 CSS3 漸層效果

prefix

多重背景

  • LOGO 放右下,氣泡png,線性漸層左到右

.box2 {
  box-sizing: border-box;

  width: 1002px;
  height: 405px;
  background: linear-gradient(to right, #00644b, #009771);
  /* background: -webkit-linear-gradient(left,#00644b, #009771); */

  color: white;
  font-size: 24px;
  text-align: center;
  padding: 10px;
}

9-64 CSS3 陰影效果

.box3 {
  width: 200px;
  height: 200px;

  background-color: green;
  box-shadow: 3px 3px 15px gray;
  margin: 30px;
}

9-65 使用 can I use 查詢 HTML、CSS 瀏覽器兼容度

  • can i use

  • 各語言的屬性在瀏覽器上的兼容性

有無支援 email

9-66 使用 Statcounter 瀏覽各國瀏覽器趨勢

了解網站的使用族群會用哪些瀏覽器,要不要兼容 IE

未知高度多行文本垂直居中 - 層疊之美 - 雲路科技
JS Bin - Collaborative JavaScript Debugging
JS Bin - Collaborative JavaScript Debugging
JS Bin - Collaborative JavaScript Debugging
JS Bin - Collaborative JavaScript Debugging
CSS Box Alignment Module Level 3
CSS 垂直置中的七個方法 - OXXO.STUDIO
CSS 垂直置中的三個方法 - OXXO.STUDIO
CSS Gradients
What CSS prefixes should I use?
使用 CSS 多重背景 - CSS | MDN
CSS Support Guide for Email Clients | Campaign Monitor
StatCounter Global Stats - Browser, OS, Search Engine including Mobile Usage Share