123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- body {
- background: #dddada;
- font-family: '微软雅黑';
- }
- .containers {
- width: 1080px;
- /* overflow: hidden; */
- min-height: 80vh;
- margin: 0 auto;
- }
- .con-title {
- width: 300px;
- margin: 0 auto;
- margin-top: 20px;
- display: inline-block;
- font-size: 20px;
- text-align: center;
- font-weight: bold;
- padding: 20px;
- }
- .con {
- padding-right: 20px !important;
- /* width: 100%; */
- height: auto;
- overflow: hidden;
- /* background: #f9fafc; */
- /* margin: 0 auto 0; */
- display: flex;
- flex-wrap: wrap;
- /* padding: 20px 2%; */
- justify-content: center;
- }
- .con li {
- text-align: center;
- width: 30%;
- display: inline-block;
- margin: 25px 10px;
- }
- .case {
- padding: 10px;
- background: url('../img/divBac.png');
- background-size: 100% 100%;
- /* border-radius: 10px; */
- box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
- transition: all 0.3s;
- }
- .case:hover {
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.6);
- transform: translateY(-15px);
- }
- .case .card-img {
- width: 100%;
- height: 180px;
- background-repeat: no-repeat;
- background-size: cover;
- background-position: top center;
- }
- .con li p {
- color: #fff;
- margin-top: 10px;
- font-size: 16px;
- font-weight: 100;
- }
- .link-a {
- width: 100%;
- height: 100%;
- display: inline-block;
- }
- #introductionWrap{
- position: absolute;
- z-index: 1;
- display: flex;
- flex-direction: column;
- right: 20px;
- text-align: right;
- top: 20px;
- font-size: 18px;
- color: #ffffff;
- font-weight: 100;
- line-height: 30px;
- letter-spacing: 2px;
- }
- #companyText{
- position: absolute;
- z-index: 1;
- font-size: 16px;
- color:rgb(153, 153, 153);
- font-weight: 100;
- left: 50%;
- transform: translateX(-50%);
- bottom: 20px;
- letter-spacing: 1px;
- text-shadow:rgb(51, 51, 51) 0px 1px 1px;
- }
- @media screen and (max-width: 600px) {
- .containers {
- width: 100%;
- }
- .con {
- padding: 0;
- }
- .case .card-img {
- background-size: auto 100%;
- height: 90px;
- }
- .con li {
- width: 44%;
- }
- #introductionWrap{
- position: absolute;
- z-index: 1;
- display: flex;
- flex-direction: column;
- right: 10px;
- text-align: right;
- top: 16px;
- font-size: 16px;
- color: #ffffff;
- font-weight: 100;
- line-height: 28px;
- letter-spacing: 1px;
- }
- /* .con li p {
- font-size: 16px;
- } */
- }
- @media screen and (max-width: 350px) {
- .con li {
- margin: 20px auto;
- }
- }
- .hide{
- display: none;
- }
- #companyText{
- position: absolute;
- z-index: 1;
- font-size: 16px;
- font-weight: 100;
- left: 50%;
- transform: translateX(-50%);
- bottom: 20px;
- letter-spacing: 1px;
- }
- @media screen and (max-width: 320px) {
- .con li {
- width: 43%;
- }
- .con li p {
- font-size: 14px;
- font-weight: 100;
- }
- }
|