anxiao_web/furongNav/css/style.css

326 lines
5.4 KiB
CSS

/*
CSS Reset
http://meyerweb.com/eric/tools/css/reset/
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* particleground demo */
@font-face
{
font-family: myRegular;
src: url('../../alibabaFont/FZPingXYSJW.TTF');
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
}
body {
/* background: #16a085; */
font-family: 'myRegular';
color: #fff;
line-height: 1.3;
-webkit-font-smoothing: antialiased;
background:url("../img/bg.jpg") 0 0 no-repeat;
position: relative;
z-index:9999999999999 !important;
}
#particles {
width: 100%;
height: 100%;
overflow: hidden;
}
.topTitle{
width:100%;
height:60px;
line-height:60px;
text-align: center;
font-size:32px;
}
.intro {
position: absolute;
left:50%;
top: 50%;
height:500px;
width: 1260px;
text-align: center;
margin-left: -580px;
margin-top: -250px;
}
.intro>div{
width:100%;
height:100%;
}
.intro>div>div{
width:222px;
height:222px;
float:left;
background:url(../img/1.jpg) 0 0 no-repeat;
margin:0 20px 20px 0;
/* box-shadow: 0 0 1px 2px #ccc; */
/* box-shadow: 0 2rem 4rem #aac1c7; */
}
.intro>div>div:nth-child(1){
background:url(../img/1.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(2){
background:url(../img/2.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(3){
background:url(../img/3.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(4){
background:url(../img/4.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(5){
background:url(../img/5.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(6){
background:url(../img/6.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(7){
background:url(../img/7.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(8){
background:url(../img/8.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(9){
background:url(../img/9.jpg) 0 0 no-repeat;
}
.intro>div>div:nth-child(10){
background:url(../img/10.jpg) 0 0 no-repeat;
}
.div5 {
/* width: 300px;
height: 200px; */
position: relative;
color: #fff;
/* border: 2px solid gold; */
border-radius: 10px;
/* background: #ffd700; */
transition: all .3s;
}
.div5::before {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border:2px solid #01EBFF;
border-radius: 10px;
animation: div5Ani 3s infinite linear;
}
.div5::after {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border: 2px solid #01EBFF;
border-radius: 10px;
animation: div5Ani 3s infinite linear;
}
@keyframes div5Ani {
0%,
100% {
clip-path: inset(0 0 98% 0);
}
25% {
clip-path: inset(0 98% 0 0);
}
50% {
clip-path: inset(98% 0 0 0);
}
75% {
clip-path: inset(0 0 0 98%);
}
}
.div5::after {
animation: div5Ani 3s infinite -1.5s linear;
}
.intro>div>div:nth-child(9)>div,
.intro>div>div:nth-child(10)>div{
position: relative;
width:100%;
height:100%;
background: rgba(0,0,0,.7);
z-index:9999;
}
.intro>div>div>p{
float:left;
width:100%;
height:40px;
line-height:40px;
margin-top:140px;
text-align: center;
font-size:24px;
}
h1 {
text-transform: uppercase;
font-size: 85px;
font-weight: 700;
letter-spacing: 0.015em;
}
h1::after {
content: '';
width: 80px;
display: block;
background: #fff;
height: 10px;
margin: 30px auto;
line-height: 1.1;
}
p {
margin: 0 0 30px 0;
font-size: 24px;
}
.btn {
display: inline-block;
padding: 15px 30px;
border: 2px solid #fff;
text-transform: uppercase;
letter-spacing: 0.015em;
font-size: 18px;
font-weight: 700;
line-height: 1;
color: #fff;
text-decoration: none;
-webkit-transition: all 0.4s;
-moz-transition: all 0.4s;
-o-transition: all 0.4s;
transition: all 0.4s;
}
.btn:hover {
color: #005544;
border-color: #005544;
}
@media only screen and (max-width: 1000px) {
h1 {
font-size: 70px;
}
}
@media only screen and (max-width: 800px) {
h1 {
font-size: 48px;
}
h1::after {
height: 8px;
}
}
@media only screen and (max-width: 568px) {
.intro {
padding: 0 10px;
}
h1 {
font-size: 30px;
}
h1::after {
height: 6px;
}
p {
font-size: 18px;
}
.btn {
font-size: 16px;
}
}
@media only screen and (max-width: 320px) {
h1 {
font-size: 28px;
}
h1::after {
height: 4px;
}
}
.layui-layer-dialog .layui-layer-content{
color:#000;
}
/*
#particles{
width:100%;
height:100%;
background: url("../bg.jpg") no-repeat 0 0;
position: absolute;
z-index:9999999999999;
} */