#iframe-container{ width:100rem; height:52.4rem; position: relative; } #wanwuqiang{ position: absolute; top:0; left:0; width:100%; height:100%; border-width: 0;; } .appear{ display: block; } .invisible{ visibility: hidden; } .exhibition{ position: absolute; border-width: 0; left:50%; top:0; -webkit-transform: translate(-50%); -ms-transform: translate(-50%); transform: translate(-50%); width:100%; height: 52rem; } .iframepng{ position:absolute; top:0; left:0; width:100%; height:100%; } #caltural-relic-wall{ position: absolute; top:8rem; left:0; width:100%; height:55rem; /* transform-origin: top left; transform: scale(1,1); */ } .img-title{ position:absolute; top:4rem; width:100rem; display:-webkit-box; display:-webkit-flex; display:-ms-flexbox; display:flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .ex{ top:7.9rem; } .tradition{ top:0; } .revolution{ top:52rem; } .nation{ top:103rem; height:60rem; } div.ex-card{ margin:0 1.5rem 0; } .entitle{ position:absolute; top:11rem; left:50%; -webkit-transform:translate(-50%); -ms-transform:translate(-50%); transform:translate(-50%); height: 3.5rem; font-size: 2.8rem; font-family: STFangsong; font-weight: 400; line-height: 4.1rem; color: #D06814; /* opacity: 0.25; */ } .wall{ top:7.9rem; color: #ffffff; } .cards{ position:absolute; top:17rem; left:0; width: 100%; height:25rem; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; /* background-color: lightgray; */ } .card{ overflow: hidden; top:0; width:18.3rem; height:25.9rem; margin:0 0.42rem 0; /* background-color: lightblue; */ } .card:hover{ overflow: visible; /* width: 19rem; */ /* transform: translate(-0.4rem,-0.4rem); */ } .card:hover .img7{ /* width: 19rem; */ -webkit-transform:scale(1.03); -ms-transform:scale(1.03); transform:scale(1.03); -webkit-transition: all 1s ease; -o-transition: all 1s ease; transition: all 1s ease; -webkit-box-shadow: 0 3px 6px #000; box-shadow: 0 3px 6px #000; } .img5{ width: 9rem; } .img6{ width:10.2rem; } .img7{ width:100%; border-radius: 5px; } .control{ position:absolute; top:26.7rem; right:12.2rem; } .control:hover{ cursor: pointer; } img.control{ width:5.6rem; } .index{ position:absolute; top:44.2rem; width:100%; display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; } .index div{ width:6px; height:6px; border:solid orange 1px; border-radius: 5px; margin:0 2px 0; } div.index_on{ width:9px; background-color: orange; } div.disappear{ display: none; } #poster{ position:relative; width: 100rem; height:166rem; margin:0; border-width: 0; } .posterbackground{ position:absolute; border-width: 0; width:100%; }