Commit 16521b314dbb1e1a4f9a20a2917f8b36dc7efaeb
1 parent
f8b82db6
产品自适应
Showing
3 changed files
with
59 additions
and
46 deletions
css/portfollo.css
@@ -56,14 +56,13 @@ | @@ -56,14 +56,13 @@ | ||
56 | } | 56 | } |
57 | 57 | ||
58 | .portfolio-section-wrap{ | 58 | .portfolio-section-wrap{ |
59 | - height: 596px; | ||
60 | - overflow: hidden; | 59 | + |
61 | } | 60 | } |
62 | .portfolio-section-wrap>li{ | 61 | .portfolio-section-wrap>li{ |
63 | - height: 596px; | 62 | + |
64 | } | 63 | } |
65 | .portfolio-section-wrap>li li{ | 64 | .portfolio-section-wrap>li li{ |
66 | - height: 596px; | 65 | + |
67 | } | 66 | } |
68 | .displaynone{ | 67 | .displaynone{ |
69 | display: none; | 68 | display: none; |
@@ -76,52 +75,53 @@ | @@ -76,52 +75,53 @@ | ||
76 | text-align: left; | 75 | text-align: left; |
77 | } | 76 | } |
78 | .ortfolio-hardware-bottom-1>li:nth-of-type(1){ | 77 | .ortfolio-hardware-bottom-1>li:nth-of-type(1){ |
79 | - width: 460px; | 78 | + /*width: 460px;*/ |
80 | height: 200px; | 79 | height: 200px; |
81 | - margin: 227px 100px 0 50px; | 80 | + margin: 227px auto 0 ; |
82 | } | 81 | } |
83 | .ortfolio-hardware-bottom-1 li:nth-of-type(2){ | 82 | .ortfolio-hardware-bottom-1 li:nth-of-type(2){ |
84 | /*padding-left: 100px;*/ | 83 | /*padding-left: 100px;*/ |
85 | - background: url("../images/produect_dev1.png") no-repeat; | ||
86 | - width: 578px; | 84 | + background: url("../images/produect_dev1.png") no-repeat center 0; |
85 | + /*width: 578px;*/ | ||
87 | height: 522px; | 86 | height: 522px; |
88 | margin-top: 40px; | 87 | margin-top: 40px; |
88 | + background-size: 100% 100%; | ||
89 | } | 89 | } |
90 | .ortfolio-hardware-bottom-2 li:nth-of-type(1){ | 90 | .ortfolio-hardware-bottom-2 li:nth-of-type(1){ |
91 | margin-top: 227px; | 91 | margin-top: 227px; |
92 | } | 92 | } |
93 | .ortfolio-hardware-bottom-2 li:nth-of-type(2){ | 93 | .ortfolio-hardware-bottom-2 li:nth-of-type(2){ |
94 | - background: url("../images/produect_dev4.png") no-repeat; | ||
95 | - width: 383px; | 94 | + background: url("../images/produect_dev4.png") no-repeat center 0; |
95 | + /*width: 383px;*/ | ||
96 | height: 480px; | 96 | height: 480px; |
97 | margin-top: 70px; | 97 | margin-top: 70px; |
98 | - margin-left: 147px; | 98 | + /*margin-left: 147px;*/ |
99 | } | 99 | } |
100 | .ortfolio-hardware-bottom-3 li:nth-of-type(1){ | 100 | .ortfolio-hardware-bottom-3 li:nth-of-type(1){ |
101 | margin-top: 227px; | 101 | margin-top: 227px; |
102 | /*padding-left: 50px;*/ | 102 | /*padding-left: 50px;*/ |
103 | - width: 460px; | ||
104 | - margin-left: 100px; | 103 | + /*width: 460px;*/ |
104 | + /*margin-left: 100px;*/ | ||
105 | } | 105 | } |
106 | .ortfolio-hardware-bottom-3 li:nth-of-type(2){ | 106 | .ortfolio-hardware-bottom-3 li:nth-of-type(2){ |
107 | - background: url("../images/produect_dev3.png") no-repeat; | ||
108 | - width: 298px; | 107 | + background: url("../images/produect_dev3.png") no-repeat center 0; |
108 | + /*width: 298px;*/ | ||
109 | height: 186px; | 109 | height: 186px; |
110 | margin-top: 197px; | 110 | margin-top: 197px; |
111 | - margin-left: 108px; | 111 | + /*margin-left: 108px;*/ |
112 | 112 | ||
113 | } | 113 | } |
114 | .ortfolio-hardware-bottom-4 li:nth-of-type(1){ | 114 | .ortfolio-hardware-bottom-4 li:nth-of-type(1){ |
115 | margin-top: 185px; | 115 | margin-top: 185px; |
116 | - width: 500px; | ||
117 | - margin-left: 50px; | 116 | + /*width: 500px;*/ |
117 | + /*margin-left: 50px;*/ | ||
118 | } | 118 | } |
119 | .ortfolio-hardware-bottom-4 li:nth-of-type(2){ | 119 | .ortfolio-hardware-bottom-4 li:nth-of-type(2){ |
120 | - background: url("../images/produect_dev2.png") no-repeat; | ||
121 | - width: 297px; | 120 | + background: url("../images/produect_dev2.png") no-repeat center 0; |
121 | + /*width: 297px;*/ | ||
122 | height: 369px; | 122 | height: 369px; |
123 | margin-top: 138px; | 123 | margin-top: 138px; |
124 | - margin-left: 180px; | 124 | + /*margin-left: 180px;*/ |
125 | } | 125 | } |
126 | .ortfolio-hardware-bottom-title{ | 126 | .ortfolio-hardware-bottom-title{ |
127 | font-size:30px; | 127 | font-size:30px; |
@@ -147,4 +147,4 @@ | @@ -147,4 +147,4 @@ | ||
147 | height:6px; | 147 | height:6px; |
148 | background:rgba(66,160,251,1); | 148 | background:rgba(66,160,251,1); |
149 | border-radius:50%; | 149 | border-radius:50%; |
150 | -} | ||
151 | \ No newline at end of file | 150 | \ No newline at end of file |
151 | +} |
portfolio.html
@@ -61,7 +61,7 @@ | @@ -61,7 +61,7 @@ | ||
61 | <div class="breadcrumb" > | 61 | <div class="breadcrumb" > |
62 | <div class="container"> | 62 | <div class="container"> |
63 | <div class="row"> | 63 | <div class="row"> |
64 | - <div class="col-md-12"> | 64 | + <div class="col-md-12 col-xs-12"> |
65 | <div class="breadcrumb-text"> | 65 | <div class="breadcrumb-text"> |
66 | 城市智慧停车综合解决方案领航者 | 66 | 城市智慧停车综合解决方案领航者 |
67 | </div> | 67 | </div> |
@@ -101,14 +101,14 @@ | @@ -101,14 +101,14 @@ | ||
101 | <div class="ortfolio-soft-bottom-title"> | 101 | <div class="ortfolio-soft-bottom-title"> |
102 | 任你停APP | 102 | 任你停APP |
103 | </div> | 103 | </div> |
104 | - <div class="ortfolio-soft-bottom-des">车场智能推荐,一键导航随停即走 | 104 | + <div class="ortfolio-soft-bottom-des"><span></span>车场智能推荐,一键导航随停即走 |
105 | 105 | ||
106 | </div> | 106 | </div> |
107 | - <div class="ortfolio-soft-bottom-des">电子支付,简单方便,账户余额,自动代扣,快速离场 | 107 | + <div class="ortfolio-soft-bottom-des"><span></span>电子支付,简单方便,账户余额,自动代扣,快速离场 |
108 | </div> | 108 | </div> |
109 | - <div class="ortfolio-soft-bottom-des">会员卡线上办理,到期智能提醒,快捷实用 | 109 | + <div class="ortfolio-soft-bottom-des"><span></span>会员卡线上办理,到期智能提醒,快捷实用 |
110 | </div> | 110 | </div> |
111 | - <div class="ortfolio-soft-bottom-des">积分兑换,礼券不断,优惠多多</div> | 111 | + <div class="ortfolio-soft-bottom-des"><span></span>积分兑换,礼券不断,优惠多多</div> |
112 | </li> | 112 | </li> |
113 | 113 | ||
114 | </ul> | 114 | </ul> |
@@ -124,18 +124,18 @@ | @@ -124,18 +124,18 @@ | ||
124 | </li> | 124 | </li> |
125 | <li class="text-center col-md-6"> | 125 | <li class="text-center col-md-6"> |
126 | <div class="ortfolio-soft-bottom-title"> | 126 | <div class="ortfolio-soft-bottom-title"> |
127 | - 企业云平台 | 127 | + <span></span>企业云平台 |
128 | </div> | 128 | </div> |
129 | <div class="ortfolio-soft-bottom-des"> | 129 | <div class="ortfolio-soft-bottom-des"> |
130 | - 车场智能推荐,一键导航随停即走 | 130 | + <span></span>车场智能推荐,一键导航随停即走 |
131 | </div> | 131 | </div> |
132 | <div class="ortfolio-soft-bottom-des"> | 132 | <div class="ortfolio-soft-bottom-des"> |
133 | - 电子支付,简单方便,账户余额,自动代扣,快速离场 | 133 | + <span></span>电子支付,简单方便,账户余额,自动代扣,快速离场 |
134 | </div> | 134 | </div> |
135 | <div class="ortfolio-soft-bottom-des"> | 135 | <div class="ortfolio-soft-bottom-des"> |
136 | - 会员卡线上办理,到期智能提醒,快捷实用。 | 136 | + <span></span>会员卡线上办理,到期智能提醒,快捷实用。 |
137 | </div> | 137 | </div> |
138 | - <div class="ortfolio-soft-bottom-des">积分兑换,礼券不断,优惠多多</div> | 138 | + <div class="ortfolio-soft-bottom-des"><span></span>积分兑换,礼券不断,优惠多多</div> |
139 | </li> | 139 | </li> |
140 | 140 | ||
141 | </ul> | 141 | </ul> |
@@ -151,16 +151,16 @@ | @@ -151,16 +151,16 @@ | ||
151 | </li> | 151 | </li> |
152 | <li class="text-center col-md-6"> | 152 | <li class="text-center col-md-6"> |
153 | <div class="ortfolio-soft-bottom-title"> | 153 | <div class="ortfolio-soft-bottom-title"> |
154 | - 数据分析平台 | 154 | + <span></span>数据分析平台 |
155 | </div> | 155 | </div> |
156 | <div class="ortfolio-soft-bottom-des"> | 156 | <div class="ortfolio-soft-bottom-des"> |
157 | - 停车数据综合监测,停车热点、供需分析、区域治理 | 157 | + <span></span>停车数据综合监测,停车热点、供需分析、区域治理 |
158 | </div> | 158 | </div> |
159 | <div class="ortfolio-soft-bottom-des"> | 159 | <div class="ortfolio-soft-bottom-des"> |
160 | - 动态交通组织优化,城市早晚高峰、大型交通枢纽 | 160 | + <span></span>动态交通组织优化,城市早晚高峰、大型交通枢纽 |
161 | </div> | 161 | </div> |
162 | <div class="ortfolio-soft-bottom-des"> | 162 | <div class="ortfolio-soft-bottom-des"> |
163 | - 停车视频联网监控,视频监控资源分布查看、违停抓拍、车辆剐蹭责任追查 | 163 | + <span></span> 停车视频联网监控,视频监控资源分布查看、违停抓拍、车辆剐蹭责任追查 |
164 | </div> | 164 | </div> |
165 | </li> | 165 | </li> |
166 | 166 |
style.css
@@ -115,8 +115,7 @@ a:hover{ | @@ -115,8 +115,7 @@ a:hover{ | ||
115 | } | 115 | } |
116 | .breadcrumb-text{ | 116 | .breadcrumb-text{ |
117 | text-align: center; | 117 | text-align: center; |
118 | - height: 682px; | ||
119 | - line-height: 682px; | 118 | + padding-top: 300px; |
120 | color: #fff; | 119 | color: #fff; |
121 | font-size: 71px; | 120 | font-size: 71px; |
122 | } | 121 | } |
@@ -174,11 +173,9 @@ a:hover{ | @@ -174,11 +173,9 @@ a:hover{ | ||
174 | } | 173 | } |
175 | 174 | ||
176 | .portfolio-section-wrap{ | 175 | .portfolio-section-wrap{ |
177 | - height: 596px; | ||
178 | - overflow: hidden; | 176 | + min-height: 596px; |
179 | } | 177 | } |
180 | .portfolio-section-wrap>li{ | 178 | .portfolio-section-wrap>li{ |
181 | - height: 596px; | ||
182 | } | 179 | } |
183 | .portfolio-section-wrap>li li{ | 180 | .portfolio-section-wrap>li li{ |
184 | height: 596px; | 181 | height: 596px; |
@@ -196,13 +193,13 @@ a:hover{ | @@ -196,13 +193,13 @@ a:hover{ | ||
196 | background: #f00; | 193 | background: #f00; |
197 | } | 194 | } |
198 | .ortfolio-soft-bottom-2 li:nth-of-type(2){ | 195 | .ortfolio-soft-bottom-2 li:nth-of-type(2){ |
199 | - padding-left:50px; | 196 | + padding-left:100px; |
200 | } | 197 | } |
201 | .ortfolio-soft-bottom-3 li:nth-of-type(1){ | 198 | .ortfolio-soft-bottom-3 li:nth-of-type(1){ |
202 | background: #f0f; | 199 | background: #f0f; |
203 | } | 200 | } |
204 | .ortfolio-soft-bottom-3 li:nth-of-type(2){ | 201 | .ortfolio-soft-bottom-3 li:nth-of-type(2){ |
205 | - padding-left:20px; | 202 | + padding-left:100px; |
206 | } | 203 | } |
207 | .ortfolio-soft-bottom-title{ | 204 | .ortfolio-soft-bottom-title{ |
208 | font-size:30px; | 205 | font-size:30px; |
@@ -218,12 +215,18 @@ a:hover{ | @@ -218,12 +215,18 @@ a:hover{ | ||
218 | padding-left: 20px; | 215 | padding-left: 20px; |
219 | position: relative; | 216 | position: relative; |
220 | } | 217 | } |
221 | -.ortfolio-soft-bottom-des:before{ | 218 | +.ortfolio-soft-bottom-des span{ |
219 | + width:6px; | ||
220 | + height:6px; | ||
221 | + display: inline-block; | ||
222 | + position: relative; | ||
223 | +} | ||
224 | +.ortfolio-soft-bottom-des span:before{ | ||
222 | position: absolute; | 225 | position: absolute; |
223 | content: ''; | 226 | content: ''; |
224 | - left: 0; | 227 | + left: -10px; |
225 | top:50%; | 228 | top:50%; |
226 | - margin-top: -3px; | 229 | + margin-top: -6px; |
227 | width:6px; | 230 | width:6px; |
228 | height:6px; | 231 | height:6px; |
229 | background:rgba(66,160,251,1); | 232 | background:rgba(66,160,251,1); |
@@ -2583,5 +2586,15 @@ a:hover{ | @@ -2583,5 +2586,15 @@ a:hover{ | ||
2583 | width: 100%; | 2586 | width: 100%; |
2584 | padding: 0 20px; | 2587 | padding: 0 20px; |
2585 | } | 2588 | } |
2589 | + .breadcrumb-text{ | ||
2590 | + font-size: 30px; | ||
2591 | + padding-top: 300px; | ||
2592 | + } | ||
2593 | + .ortfolio-soft-bottom-title,.ortfolio-soft-bottom-des{ | ||
2594 | + text-align: center; | ||
2595 | + } | ||
2596 | + .ortfolio-soft-bottom-1 li:nth-of-type(2),.ortfolio-soft-bottom-2 li:nth-of-type(2),.ortfolio-soft-bottom-3 li:nth-of-type(2){ | ||
2597 | + padding-left: 0; | ||
2598 | + } | ||
2586 | } | 2599 | } |
2587 | 2600 |