日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 前端技术 > HTML >内容正文

HTML

炫酷的元素周期表html,HTML5 经典化学元素周期表

發布時間:2025/4/17 HTML 62 豆豆
生活随笔 收集整理的這篇文章主要介紹了 炫酷的元素周期表html,HTML5 经典化学元素周期表 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

CSS

語言:

CSSSCSS

確定

body {

margin: 0;

padding: 40px 20px 20px;

font-family: 'Roboto', sans-serif;

background: #222;

}

.container {

margin: 0 auto;

}

#table {

width: 1260px;

margin-bottom: 20px;

}

#table-lanthanoids,

#table-actinoids {

width: 1050px;

}

.element {

position: relative;

float: left;

width: 70px;

height: 70px;

text-align: center;

color: white;

font-size: 11px;

font-weight: 100;

text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);

text-decoration: none;

transition: all 0.2s ease-in-out;

}

.element .symbol {

line-height: 70px;

font-size: 240%;

font-weight: 300;

}

.element .id,

.element .mass {

position: absolute;

opacity: 0.9;

}

.element .id {

top: 2px;

left: 2px;

}

.element .mass {

bottom: 2px;

left: 0;

right: 0;

}

.element.noble {

background: -webkit-linear-gradient(top left, #7e57c2, #673ab7);

background: -moz-linear-gradient(top left, #7e57c2, #673ab7);

background: -ms-linear-gradient(top left, #7e57c2, #673ab7);

background: -o-linear-gradient(top left, #7e57c2, #673ab7);

background: linear-gradient(top left, #7e57c2, #673ab7);

}

.element.alkali {

background: -webkit-linear-gradient(top left, #ef5350, #f44336);

background: -moz-linear-gradient(top left, #ef5350, #f44336);

background: -ms-linear-gradient(top left, #ef5350, #f44336);

background: -o-linear-gradient(top left, #ef5350, #f44336);

background: linear-gradient(top left, #ef5350, #f44336);

}

.element.alkaline {

background: -webkit-linear-gradient(top left, #ff7043, #ff5722);

background: -moz-linear-gradient(top left, #ff7043, #ff5722);

background: -ms-linear-gradient(top left, #ff7043, #ff5722);

background: -o-linear-gradient(top left, #ff7043, #ff5722);

background: linear-gradient(top left, #ff7043, #ff5722);

}

.element.transition {

background: -webkit-linear-gradient(top left, #ff9800, #fb8c00);

background: -moz-linear-gradient(top left, #ff9800, #fb8c00);

background: -ms-linear-gradient(top left, #ff9800, #fb8c00);

background: -o-linear-gradient(top left, #ff9800, #fb8c00);

background: linear-gradient(top left, #ff9800, #fb8c00);

}

.element.poor {

background: -webkit-linear-gradient(top left, #66bb6a, #4caf50);

background: -moz-linear-gradient(top left, #66bb6a, #4caf50);

background: -ms-linear-gradient(top left, #66bb6a, #4caf50);

background: -o-linear-gradient(top left, #66bb6a, #4caf50);

background: linear-gradient(top left, #66bb6a, #4caf50);

}

.element.metalloid {

background: -webkit-linear-gradient(top left, #26c6da, #00bcd4);

background: -moz-linear-gradient(top left, #26c6da, #00bcd4);

background: -ms-linear-gradient(top left, #26c6da, #00bcd4);

background: -o-linear-gradient(top left, #26c6da, #00bcd4);

background: linear-gradient(top left, #26c6da, #00bcd4);

}

.element.nonmetal {

background: -webkit-linear-gradient(top left, #42a5f5, #2196f3);

background: -moz-linear-gradient(top left, #42a5f5, #2196f3);

background: -ms-linear-gradient(top left, #42a5f5, #2196f3);

background: -o-linear-gradient(top left, #42a5f5, #2196f3);

background: linear-gradient(top left, #42a5f5, #2196f3);

}

.element.halogen {

background: -webkit-linear-gradient(top left, #5c6bc0, #3f51b5);

background: -moz-linear-gradient(top left, #5c6bc0, #3f51b5);

background: -ms-linear-gradient(top left, #5c6bc0, #3f51b5);

background: -o-linear-gradient(top left, #5c6bc0, #3f51b5);

background: linear-gradient(top left, #5c6bc0, #3f51b5);

}

.element.lanthanoid {

background: -webkit-linear-gradient(top left, #7e57c2, #673ab7);

background: -moz-linear-gradient(top left, #7e57c2, #673ab7);

background: -ms-linear-gradient(top left, #7e57c2, #673ab7);

background: -o-linear-gradient(top left, #7e57c2, #673ab7);

background: linear-gradient(top left, #7e57c2, #673ab7);

}

.element.actinoid {

background: -webkit-linear-gradient(top left, #ab47bc, #9c27b0);

background: -moz-linear-gradient(top left, #ab47bc, #9c27b0);

background: -ms-linear-gradient(top left, #ab47bc, #9c27b0);

background: -o-linear-gradient(top left, #ab47bc, #9c27b0);

background: linear-gradient(top left, #ab47bc, #9c27b0);

}

#el2 {

margin-left: 1120px;

}

#el5,

#el13 {

margin-left: 700px;

}

.clearfix {

clear: both;

}

.transp {

opacity: 0.25;

}

總結

以上是生活随笔為你收集整理的炫酷的元素周期表html,HTML5 经典化学元素周期表的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。