diff --git a/css/portfollo.css b/css/portfollo.css index 57f7aed..ac328a4 100644 --- a/css/portfollo.css +++ b/css/portfollo.css @@ -56,14 +56,13 @@ } .portfolio-section-wrap{ - height: 596px; - overflow: hidden; + } .portfolio-section-wrap>li{ - height: 596px; + } .portfolio-section-wrap>li li{ - height: 596px; + } .displaynone{ display: none; @@ -76,52 +75,53 @@ text-align: left; } .ortfolio-hardware-bottom-1>li:nth-of-type(1){ - width: 460px; + /*width: 460px;*/ height: 200px; - margin: 227px 100px 0 50px; + margin: 227px auto 0 ; } .ortfolio-hardware-bottom-1 li:nth-of-type(2){ /*padding-left: 100px;*/ - background: url("../images/produect_dev1.png") no-repeat; - width: 578px; + background: url("../images/produect_dev1.png") no-repeat center 0; + /*width: 578px;*/ height: 522px; margin-top: 40px; + background-size: 100% 100%; } .ortfolio-hardware-bottom-2 li:nth-of-type(1){ margin-top: 227px; } .ortfolio-hardware-bottom-2 li:nth-of-type(2){ - background: url("../images/produect_dev4.png") no-repeat; - width: 383px; + background: url("../images/produect_dev4.png") no-repeat center 0; + /*width: 383px;*/ height: 480px; margin-top: 70px; - margin-left: 147px; + /*margin-left: 147px;*/ } .ortfolio-hardware-bottom-3 li:nth-of-type(1){ margin-top: 227px; /*padding-left: 50px;*/ - width: 460px; - margin-left: 100px; + /*width: 460px;*/ + /*margin-left: 100px;*/ } .ortfolio-hardware-bottom-3 li:nth-of-type(2){ - background: url("../images/produect_dev3.png") no-repeat; - width: 298px; + background: url("../images/produect_dev3.png") no-repeat center 0; + /*width: 298px;*/ height: 186px; margin-top: 197px; - margin-left: 108px; + /*margin-left: 108px;*/ } .ortfolio-hardware-bottom-4 li:nth-of-type(1){ margin-top: 185px; - width: 500px; - margin-left: 50px; + /*width: 500px;*/ + /*margin-left: 50px;*/ } .ortfolio-hardware-bottom-4 li:nth-of-type(2){ - background: url("../images/produect_dev2.png") no-repeat; - width: 297px; + background: url("../images/produect_dev2.png") no-repeat center 0; + /*width: 297px;*/ height: 369px; margin-top: 138px; - margin-left: 180px; + /*margin-left: 180px;*/ } .ortfolio-hardware-bottom-title{ font-size:30px; @@ -147,4 +147,4 @@ height:6px; background:rgba(66,160,251,1); border-radius:50%; -} \ No newline at end of file +} diff --git a/portfolio.html b/portfolio.html index 03bb809..5997927 100755 --- a/portfolio.html +++ b/portfolio.html @@ -61,7 +61,7 @@