Форум программистов, компьютерный форум, киберфорум
HTML, CSS
Войти
Регистрация
Восстановить пароль
Карта форума Темы раздела Блоги Сообщество Поиск Заказать работу  
 
Рейтинг 4.75/4: Рейтинг темы: голосов - 4, средняя оценка - 4.75
0 / 0 / 0
Регистрация: 21.12.2019
Сообщений: 9
1

Никак не пойму, как избавиться от пространства справа)

21.12.2019, 18:13. Показов 826. Ответов 4
Метки нет (Все метки)

Author24 — интернет-сервис помощи студентам
После того, как пропишу мета тег <meta name="viewport" content="width=device-width, initial-scale=1">, то на сайте при смене разрешения ( т.е. я нажимаю "посмотреть код элемента" и выбираю сверху мобильное устройство и сразу справа появляется белое пространство.
Никаких блоков у меня нет фиксированной ширины, только контейнер с кодом:
CSS
1
2
3
4
5
.container{
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}
и все.
Но как я убираю этот мета тег, то все в норме. Из-за чего это?
0
Programming
Эксперт
94731 / 64177 / 26122
Регистрация: 12.04.2006
Сообщений: 116,782
21.12.2019, 18:13
Ответы с готовыми решениями:

Никак не пойму, как это сделать
Значения элементов двумерного массива из m строк и n столбцов скопировать в одномерный массив...

Никак не пойму, как написать эти проги...((
1.Программирование циклических процессов: Дано натуральное число n та действительное число х....

Никак не пойму, как запустить этот скрипт
import string, random, urllib, os, thread, array, sys if len(sys.argv) &lt; 2: ...

Как избавиться от явного указания пространства имен
Есть класс, который нужно вынести в другой файл. Соответственно что делаю: 1. Описание класса в...

4
238 / 161 / 67
Регистрация: 18.06.2016
Сообщений: 509
21.12.2019, 19:00 2
Цитата Сообщение от Nimay Посмотреть сообщение
Но как я убираю этот мета тег, то все в норме. Из-за чего это?
Само собой ведь ничего и не меняется в таком случае. Дайте код
0
228 / 208 / 27
Регистрация: 18.02.2010
Сообщений: 2,042
21.12.2019, 19:15 3
Ну вышеуказанный код обозначает, только то что идёт отмена масштабирования мобильными устройствами, в нём ничего не сказанно о добавлении белого пространства.
0
0 / 0 / 0
Регистрация: 21.12.2019
Сообщений: 9
21.12.2019, 20:47  [ТС] 4
Так, я впервые на этом форуме. Тут есть отдельные окна для отправления кода? Или просто сюда писать?
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Business</title>
    <!-- Нормалайз CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css" integrity="sha256-WAgYcAck1C1/zEl5sBl5cfyhxtLgKGdpI3oKyJffVRI=" crossorigin="anonymous">
    <!-- Стили -->
    <link rel="stylesheet" href="css/main.css">
    <!--Иконки -->
    <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
    <!-- Шрифты -->
    <link href="https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700|Open+Sans&display=swap&subset=cyrillic" rel="stylesheet">
    
</head>
<body>
    <!-- Шапка с контактами -->
    <header>
        <div class="container">
            <div class="contacts">
                    <div class="phone">
                        <div class="padding">           
                            <span class="icon-phone"><i class="fa fa-mobile" aria-hidden="true"></i></span>
                            <span class="number">6337 3128</span>
                        </div>
                    </div>
                    <div class="mail">
                        <div class="padding">
                            <span><i class="fa fa-envelope" aria-hidden="true"></i></span>
 
                            <span><a href="#">info@business.com</a></span>
                        </div>
                    </div>
                    <div class="facebook">
                        <div class="padding">
                            <a href="#"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>
                        </div>
                    </div>
                </div>
        </div>
    </header>
    <!-- Логотип и меню -->
    <section class="menu">
        <div class="container">
            <div class="LogoMenu">
                
                    <div class="logo">
                        <div class="cap"><i class="fa fa-graduation-cap" aria-hidden="true"></i></div>
                        <div class="logo-text">
                            <div class="text1">Business</div>
                            <div class="text2">Tageline goes here</div>
                        </div>
                    </div>
                
                    <nav class="nav">
                        <a href="#">Home</a>
                        <a href="#">About Us</a>
                        <a href="#">Our Approch</a>
                        <a href="#">Our Work</a>
                    </nav>
                    <div class="button">
                        <a href="#">Free Consultation</a>
                    </div>
            </div>
        </div>
    </section>
    <section class="banner">
        <div class="container">
            <div class="title">
                <div class="heading">
                    <h1 class="banner__title">We Providing</h1>
                    <p class="descrip">Social media marketing for business</p>
                </div>
                <div class="button2"><a href="#">Free Consultation</a></div>
            </div>
        </div>
    </section>
    <!-- О нас -->
    <section class="aboutUs sections">
        <div class="container">
            <div class="page pageSub">
                <h2>About Us</h2>
                <p>We are added our major Services</p>
            </div>
            <div class="services section">
                <div class="service">
                    <div><img src="img/about/facebook.png" alt=""></div>
                    <div class="service__title">
                        <h2>Facebook Marketing</h2>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, corrupti, rerum. Magnam nisi possimus veritatis, odit soluta numquam quia in.</p>
                    </div>
                </div>
                <div class="service">
                    <div><img src="img/about/landing.png" alt=""></div>
                    <div class="service__title">
                        <h2>Landing pages Creation</h2>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, corrupti, rerum. Magnam nisi possimus veritatis, odit soluta numquam quia in.</p>
                    </div>
                </div>
                <div class="service">
                    <div><img src="img/about/ads.png" alt=""></div>
                    <div class="service__title">
                        <h2>Ads management</h2>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, corrupti, rerum. Magnam nisi possimus veritatis, odit soluta numquam quia in.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!--Наш подход -->
    <section class="ourApproch sections">
        <div class="container">
            <div class="page pageSub">
                <h2>Our Approch</h2>
                <p>Check our approches step by step ( how we do it )</p>
            </div>
    <!-- Шаги -->
            <div class="steps section">
                <!-- Шаг 1 -->
                <div class="step">
                    <div class="photo"><img src="img/steps/step.png" alt="">
                    <div class="step__number"><span>1</span><p>step</p></div>
                    </div>
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 1 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                </div>
                <!-- Шаг 2 -->
                <div class="step">
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 2 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                    <div class="photo"><img src="img/steps/step2.png" alt="">
                        <div class="step__numberLeft"><span>2</span><p>step</p></div>
                    </div>
                </div>
                <!-- Шаг 3 -->
                <div class="step">
                    <div class="photo"><img src="img/steps/step3.png" alt="">
                        <div class="step__number"><span>3</span><p>step</p></div>
                    </div>
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 3 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                </div>
                <!-- Шаг 4 -->
                <div class="step">
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 4 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                    <div class="photo"><img src="img/steps/step4.png" alt="">
                        <div class="step__numberLeft"><span>4</span><p>step</p></div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- Наша работа -->
    <section class="ourWork sections">
        <div class="container">
            <div class="page page2 pageSub">
                <h2>Our Work</h2>
                <p>We are added our featured works below</p>
            </div>
            <div class="works section">
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow7.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow2.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p><p class="projDesc">Landing page</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow4.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow5.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Landing page</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow7.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i> <p class="projName">Project Name</p> <p class="projDesc">Landing page</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow5.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i> <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow4.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o icons" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Landing page</p></div>
                </div>
            </div>
        </div>
    </section>
    <!--РЕГИСТРАЦИЯ-->
    <section class="reg sections">
        <div class="contain">
            <div class="page page2">
                <h2>Get Your Free Facebook Analysis Now</h2>
                <p>Enter your details bellow</p>
            </div>
            <div class="arrow"><div class="arr"><i class="fa fa-angle-down" aria-hidden="true"></i></div></div>
            <div class="registr">
                <div class="reg__text">Sit down with our experts to receive a free customized marketing plan for your business + Learn How To Use Google and Facebook to get 5000% ROI or more</div>
                <!--Форма -->
                <div class="reg__form">
                    <div><input class="input" type="text" placeholder="Your Name"></div>
                    <div><input class="input" type="text" placeholder="Contact Number"></div>
                    <div><input class="input" type="text" placeholder="Company Name"></div>
                    <div><input class="submit" type="submit" value="SUBMIT NOW"></div>
                </div>
 
                <div class="cross"><a class="cross__link" href="#"><i class="fa fa-times" aria-hidden="true"></i></a></div>
            </div>
        </div>
    </section>
    <!-- Начало футера -->
    <!-- Get in Touch -->
    <section class="get">
        <div class="contain">
            <div class="page page3">
                <h2>Get in touch</h2>
            </div>
            <!--Соц-сети -->
        <div class="contain2">  
            <div class="touches">
                <div class="touch"><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></div>
                <div class="touch"><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></div>
                <div class="touch"><a href="#"><i class="fa fa-google-plus" aria-hidden="true"></i></a></div>
                <div class="touch"><a href="#"><i class="fa fa-vk" aria-hidden="true"></i></a></div>
            </div>
        </div>
        <div class="subscribe">
            <div class="subscribe__desc"><p>Subscribe to our newsletter to stay update with what is new</p> </div>
            <div class="subs__form">
                <div class="adress"><input type="text" placeholder="Email Address"></div>
                <div class="sub__address"><input type="submit" value="Subscribe"></div>
            </div>
        </div>
        </div>
        
    </section>
    <!--Футер -->
    <section class="footer">
        <div class="contain2">
            <div class="theEnd">Cssauthor.com © 2014 All Rights Reserved</div>
        </div>
    </section>
</body>
</html>




CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
*{
    box-sizing: border-box;
    padding:0;
    
}
 
body{
    overflow-x: hidden;
 
 
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
/*ШАПКА (САМЫЙ ВЕРХ)*/
header{
    background-color: #f0f2f4;
    border-bottom: 1px solid #e2e2e2;
}
.container{
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}
.contacts{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color:#424242;
    font-family: 'Nanum Gothic', sans-serif;
}
.padding{
    padding:8px 0px;
}
/*------*/
.phone{
    font-size: 17px;
    border-right: 1px solid #e2e2e2;
    padding-right: 20px;
}
.mail{
    padding:0px 13px 0px 20px;
}
.mail a{
    color:#424242;
    font-size: 17px;
    transition: color 0.2s ease-out;
}
.mail a:hover{
    color:#1287bf;
}
/*------*/
.facebook{
    font-size: 22px;
    transition: font-size 0.1s ease-out;
}
.facebook a{
    color:#1287bf;
}
.facebook:hover{
    font-size: 24px;
}
/*------*/
/*Логотип и меню*/
/*Лого*/
.LogoMenu{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    padding:41px 0;
}
 
.logo{
    display: flex;
}
.cap{
    color:#dd2a24;
    font-size: 57px;
}
.logo-text{
    padding-left: 11px;
    color:#424242;
}
.text1{
    font-size:37px;
}
.text2{
    font-size:15px;
    font-weight: 400;
}
 
/*Меню*/
.nav{
    display: flex;
    font-size: 15px;
}
.nav a{
    margin-left: 38px;
    color:#424242;
    transition: color 0.1s ease-out;
}
.nav a:first-child {
    margin-left: 0;
}
.nav a:hover{
    color:#de2b24;
}
/*Кнопка*/
.button a{
    color:#fff;
}
.button{
    background-color:#de2b24;
    border-radius: 3px;
    padding:13px 23px;
    transition: background-color 0.2s ease-out;
}
.button:hover{
    background-color: #ea4039;
}
/*Баннер*/
.banner{
    background: url(../img/background.png) center no-repeat / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Nanum Gothic', sans-serif;
    color:#fff;
    font-weight: bold;
    padding:176px 0px 236px 0px;
    height: 100vh;
 
}
.title{
    text-align: center;
    align-items: center;
    line-height: 1.2;
 
}
.banner__title{
    font-size:51px;
    
}
.descrip{
    font-size: 32px;
    font-weight: 400;
 
}
.button2{
    margin-top: 44px;
    background-color:#f8cd53;
    display: inline-block;
    font-size: 24px;
    padding:13px 40px;
    border-radius: 5px;
    transition: background-color 0.1s ease-out;
}
.button2 a{
    color:#fff;
    
}
.button2:hover {
    background-color:#e6b21f;
}
/*О нас*/
/*------*/
.page{
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    position: relative;
    line-height: 1.3;
}                                         
.pageSub:after {
    content: "";
    display: block;
    height: 5px;
    width: 47px;
    background-color:#424242;
    position: absolute;
    left: 48%;
    margin-top: 18px;
}
 
.section{
    margin-top: 70px;
}
/*------*/
 
.page h2{
    font-size: 36px;
}
.page p{
    font-size: 20px;
    font-weight: 400;
}
/*------*/
.services{
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 2.5;
 
}
.services h2{
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    font-size:22px;
}
.services p{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.3;
}
.service__title{
    line-height: 2;
}
/*Наш подход*/
.ourApproch{
    background-color:#f3f3f3;
}
.step{
    border: 1px solid #e5e5e5;
    display: flex;
    height: 236px;
    margin-top: 28px;
}
.step h2{
    font-size:18px;
    font-family: 'Nanum Gothic', sans-serif;
    color:#424242;
    margin-left: auto;
    margin-right: auto;
}
.step p{
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color:#676767;
    line-height: 1.5;
}
.description__wrap{
    line-height: 2.1;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    
}
.description{
    width: 560px;
    position: absolute;
    top: 50%;                         
    transform: translate(15%, -50%);   
}
/* Позиционирование шагов */
/*--------*/
.photo{
    position: relative;
}
 
.step__number{
    position: absolute;
    top:60px;
    right: -50px;
    /*---*/
    background-color:#de2b24;
    display: inline-block;
    color:#fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    line-height: 0.8;
    padding: 12px 30px 12px 30px;
    border:2px solid #fff;
}
.step__number span {
 
    font-size:60px;
    
}
.step__number p{
    font-size: 20px;
    color:#fff;
}
.step__numberLeft{
    position: absolute;
    top:60px;
    left: -50px;
    /*---*/
    background-color:#de2b24;
    display: inline-block;
    color:#fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    line-height: 0.8;
    padding: 12px 30px 12px 30px;
    border:2px solid #fff;
}
.step__numberLeft span {
 
    font-size:60px;
    
}
.step__numberLeft p{
    font-size: 20px;
    color:#fff;
}
/*---------*/
/* Наша работа */
.ourWork{
    background-color:#de2b24;
}
.page2{
    color:#fff;
}
.page2:after {background-color:#fff;}
/*---------*/
.works{
    display:flex;
    flex-wrap: wrap;
    
}
.work, .work__img{
    height: 252px
}
.sections{
    padding-top:100px;
    padding-bottom:100px;
}
/*Наведение на фото*/
.work__img{
    background:#f35e59;
    position: relative;
    
}
.work__img img{
    transition: opacity 0.1s ease-out;
}
.work:hover .work__img img{
    opacity: 0;
}
/*Текст*/
.work__text{
    text-align: center;
    position: absolute;
    z-index: 10;
    opacity: 0;
    transform: translate(30%, -220%);
    transition: opacity 0.1s ease-out;
}
.work:hover .work__text{
    opacity:1;
}
.work__text i{
    color:#f9afac;
    font-size: 36px;
}
.work__text p{
    color:#fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
}
.work_text:nth-child(1) {
    font-size: 26px;
}
/*------*/
.projName{
    font-size: 26px;
}
.projDesc{
    font-size: 16px;
}
/*РЕГИСТРАЦИЯ*/
.contain{
    width: 100%;
    max-width: 682px;
    margin: 0 auto;
}
.reg{
    background:#1287bf;
}
.arr{
    color:#fff;
    font-size: 40px;
    text-align: center;
    border:3px solid #fff;
    border-radius: 100px;
    display: inline-block;
    padding:6px 16px;
    margin-top: 20px;
}
.arrow{
    text-align: center;
}
/*--Блок со стрелкой--*/
.registr{
    background: #fff;
    text-align: center;
    position: relative;
    margin-top: 50px;
    position: relative;
}
.registr:before {
    content: "";
    border:solid transparent;
    position: absolute;
    bottom: 100%;
    left: 50%;
    border-bottom-color: #fff;
    border-width: 22px;
    margin-left: -22px;
}
/*--------------------*/
.reg__text{
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 15px;
    color:#828282;
    line-height: 1.5;
    padding:50px 68px 0px 68px;
}
/*Форма регистрации*/
.reg__form{
    margin-top:32px;
 
}
.reg__form input{
    height: 50px;
    width: 444px;
    margin-top: 8px;
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 14px;
}
.reg__form .input{
    padding-left:20px;
}
.reg__form .submit{
    border: none;
    height: 46px;
    width: 161px;
    margin-top: 36px;
    margin-bottom: 70px;
    color:#fff;
    background:#de2b24;
    font-size: 15px;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: 700;
    border-radius: 5px;
}
.reg__form .submit:hover {
    width: 163px;
    height: 48px;
    font-size: 16px;
    background:#e12019;
    cursor: pointer;
}
/*-----------*/
.cross{
    position: absolute;
    display: inline-block;
    background:#de2b24;
    border: 2px solid #fff;
    border-radius: 100px;
    padding:10px 13px;
    right:-20px;
    top:-20px;
}
.cross a{
    font-size: 18px;
    color:#fff;
}
 
/*Начало футера*/
 
 
/* Get in Touch */
.get{
    padding-top: 90px;
    padding-bottom:90px;
    background:#2a2a2a;
}
.page3 h2{
    color:#fff;
    font-size: 29px;
 
}
/*Сети*/
.contain2{
    width: 100%;
    max-width: 341px;
    margin: 0 auto;
}
.touches{
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}
.touch{
    width: 50px;
    height: 50px;
    border:2px solid #515151;
    font-size: 23px;
    text-align: center;
    position: relative;
}
.touch:hover{
    border-color: #de2b24;
}
.touch a{
    color:#fff;
    position: absolute;
    top:20%;
    left:25%;
}
/*--------*/
.subscribe__desc{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color:#a2a2a2;
    text-align: center;
    margin-top: 35px;
}
/*--------*/
.subs__form{
    text-align: center;
}
.subs__form input{
    margin-top: 35px;
}
.adress input{
    width: 100%;
    height: 54px;
    background:#515151;
    color:#cecece;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding-left:20px;
    border:none;
}
.sub__address input{
    width: 150px;
    height: 50px;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    font-size: 17px;
    color:#fff;
    background:#2a2a2a;
    border:2px solid #515151;
    border-radius: 5px;
}
.sub__address input:hover {
    border-color: #727272;
    cursor: pointer;
}
/*Футер*/
.footer{
    background:#515151;
    text-align: center;
    
}
.theEnd{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color:#cecece;
    padding:28px 0px 28px 0px;
}
0
238 / 161 / 67
Регистрация: 18.06.2016
Сообщений: 509
21.12.2019, 23:52 5
HTML5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Business</title>
    <!-- Нормалайз CSS -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css" integrity="sha256-WAgYcAck1C1/zEl5sBl5cfyhxtLgKGdpI3oKyJffVRI=" crossorigin="anonymous">
    <!-- Стили -->
    <link rel="stylesheet" href="css/main.css">
    <!--Иконки -->
    <link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
    <!-- Шрифты -->
    <link href="https://fonts.googleapis.com/css?family=Nanum+Gothic:400,700|Open+Sans&display=swap&subset=cyrillic" rel="stylesheet">
    
</head>
<body>
    <!-- Шапка с контактами -->
    <header>
        <div class="container">
            <div class="contacts">
                    <div class="phone">
                        <div class="padding">           
                            <span class="icon-phone"><i class="fa fa-mobile" aria-hidden="true"></i></span>
                            <span class="number">6337 3128</span>
                        </div>
                    </div>
                    <div class="mail">
                        <div class="padding">
                            <span><i class="fa fa-envelope" aria-hidden="true"></i></span>
 
                            <span><a href="#">info@business.com</a></span>
                        </div>
                    </div>
                    <div class="facebook">
                        <div class="padding">
                            <a href="#"><i class="fa fa-facebook-square" aria-hidden="true"></i></a>
                        </div>
                    </div>
                </div>
        </div>
    </header>
    <!-- Логотип и меню -->
    <section class="menu">
        <div class="container">
            <div class="LogoMenu">
                
                    <div class="logo">
                        <div class="cap"><i class="fa fa-graduation-cap" aria-hidden="true"></i></div>
                        <div class="logo-text">
                            <div class="text1">Business</div>
                            <div class="text2">Tageline goes here</div>
                        </div>
                    </div>
                
                    <nav class="nav">
                        <a href="#">Home</a>
                        <a href="#">About Us</a>
                        <a href="#">Our Approch</a>
                        <a href="#">Our Work</a>
                    </nav>
                    <div class="button">
                        <a href="#">Free Consultation</a>
                    </div>
            </div>
        </div>
    </section>
    <section class="banner">
        <div class="container">
            <div class="title">
                <div class="heading">
                    <h1 class="banner__title">We Providing</h1>
                    <p class="descrip">Social media marketing for business</p>
                </div>
                <div class="button2"><a href="#">Free Consultation</a></div>
            </div>
        </div>
    </section>
    <!-- О нас -->
    <section class="aboutUs sections">
        <div class="container">
            <div class="page pageSub">
                <h2>About Us</h2>
                <p>We are added our major Services</p>
            </div>
            <div class="services section">
                <div class="service">
                    <div><img src="img/about/facebook.png" alt=""></div>
                    <div class="service__title">
                        <h2>Facebook Marketing</h2>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, corrupti, rerum. Magnam nisi possimus veritatis, odit soluta numquam quia in.</p>
                    </div>
                </div>
                <div class="service">
                    <div><img src="img/about/landing.png" alt=""></div>
                    <div class="service__title">
                        <h2>Landing pages Creation</h2>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, corrupti, rerum. Magnam nisi possimus veritatis, odit soluta numquam quia in.</p>
                    </div>
                </div>
                <div class="service">
                    <div><img src="img/about/ads.png" alt=""></div>
                    <div class="service__title">
                        <h2>Ads management</h2>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dignissimos, corrupti, rerum. Magnam nisi possimus veritatis, odit soluta numquam quia in.</p>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!--Наш подход -->
    <section class="ourApproch sections">
        <div class="container">
            <div class="page pageSub">
                <h2>Our Approch</h2>
                <p>Check our approches step by step ( how we do it )</p>
            </div>
    <!-- Шаги -->
            <div class="steps section">
                <!-- Шаг 1 -->
                <div class="step">
                    <div class="photo"><img src="img/steps/step.png" alt="">
                    <div class="step__number"><span>1</span><p>step</p></div>
                    </div>
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 1 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                </div>
                <!-- Шаг 2 -->
                <div class="step">
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 2 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                    <div class="photo"><img src="img/steps/step2.png" alt="">
                        <div class="step__numberLeft"><span>2</span><p>step</p></div>
                    </div>
                </div>
                <!-- Шаг 3 -->
                <div class="step">
                    <div class="photo"><img src="img/steps/step3.png" alt="">
                        <div class="step__number"><span>3</span><p>step</p></div>
                    </div>
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 3 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                </div>
                <!-- Шаг 4 -->
                <div class="step">
                    <div class="description__wrap">
                        <div class="description">
                            <h2> Step 4 : Heading Here</h2>
                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Assumenda, repellendus saepe dolorem commodi itaque beatae officiis mollitia autem asperiores odit, non ducimus error. Ipsa magni architecto quidem exercitationem esse reiciendis?</p>
                        </div>
                    </div>
                    <div class="photo"><img src="img/steps/step4.png" alt="">
                        <div class="step__numberLeft"><span>4</span><p>step</p></div>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- Наша работа -->
    <section class="ourWork sections">
        <div class="container">
            <div class="page page2 pageSub">
                <h2>Our Work</h2>
                <p>We are added our featured works below</p>
            </div>
            <div class="works section">
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow7.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow2.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p><p class="projDesc">Landing page</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow4.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow5.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Landing page</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow7.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i> <p class="projName">Project Name</p> <p class="projDesc">Landing page</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow5.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o" aria-hidden="true"></i> <p class="projName">Project Name</p>  <p class="projDesc">Facebook Marketing</p></div>
                </div>
                <div class="work">
                    <div class="work__img"><img src="img/Our Work/ow4.png" alt=""></div>
                    <div class="work__text"><i class="fa fa-paper-plane-o icons" aria-hidden="true"></i>  <p class="projName">Project Name</p>  <p class="projDesc">Landing page</p></div>
                </div>
            </div>
        </div>
    </section>
    <!--РЕГИСТРАЦИЯ-->
    <section class="reg sections">
        <div class="contain">
            <div class="page page2">
                <h2>Get Your Free Facebook Analysis Now</h2>
                <p>Enter your details bellow</p>
            </div>
            <div class="arrow"><div class="arr"><i class="fa fa-angle-down" aria-hidden="true"></i></div></div>
            <div class="registr">
                <div class="reg__text">Sit down with our experts to receive a free customized marketing plan for your business + Learn How To Use Google and Facebook to get 5000% ROI or more</div>
                <!--Форма -->
                <div class="reg__form">
                    <div><input class="input" type="text" placeholder="Your Name"></div>
                    <div><input class="input" type="text" placeholder="Contact Number"></div>
                    <div><input class="input" type="text" placeholder="Company Name"></div>
                    <div><input class="submit" type="submit" value="SUBMIT NOW"></div>
                </div>
 
                <div class="cross"><a class="cross__link" href="#"><i class="fa fa-times" aria-hidden="true"></i></a></div>
            </div>
        </div>
    </section>
    <!-- Начало футера -->
    <!-- Get in Touch -->
    <section class="get">
        <div class="contain">
            <div class="page page3">
                <h2>Get in touch</h2>
            </div>
            <!--Соц-сети -->
        <div class="contain2">  
            <div class="touches">
                <div class="touch"><a href="#"><i class="fa fa-facebook" aria-hidden="true"></i></a></div>
                <div class="touch"><a href="#"><i class="fa fa-twitter" aria-hidden="true"></i></a></div>
                <div class="touch"><a href="#"><i class="fa fa-google-plus" aria-hidden="true"></i></a></div>
                <div class="touch"><a href="#"><i class="fa fa-vk" aria-hidden="true"></i></a></div>
            </div>
        </div>
        <div class="subscribe">
            <div class="subscribe__desc"><p>Subscribe to our newsletter to stay update with what is new</p> </div>
            <div class="subs__form">
                <div class="adress"><input type="text" placeholder="Email Address"></div>
                <div class="sub__address"><input type="submit" value="Subscribe"></div>
            </div>
        </div>
        </div>
        
    </section>
    <!--Футер -->
    <section class="footer">
        <div class="contain2">
            <div class="theEnd">Cssauthor.com © 2014 All Rights Reserved</div>
        </div>
    </section>
</body>
</html>
CSS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
*{
    box-sizing: border-box;
    padding:0;
    
}
 
body{
    overflow-x: hidden;
 
 
}
a{
    text-decoration: none;
}
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}
/*ШАПКА (САМЫЙ ВЕРХ)*/
header{
    background-color: #f0f2f4;
    border-bottom: 1px solid #e2e2e2;
}
.container{
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
}
.contacts{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color:#424242;
    font-family: 'Nanum Gothic', sans-serif;
}
.padding{
    padding:8px 0px;
}
/*------*/
.phone{
    font-size: 17px;
    border-right: 1px solid #e2e2e2;
    padding-right: 20px;
}
.mail{
    padding:0px 13px 0px 20px;
}
.mail a{
    color:#424242;
    font-size: 17px;
    transition: color 0.2s ease-out;
}
.mail a:hover{
    color:#1287bf;
}
/*------*/
.facebook{
    font-size: 22px;
    transition: font-size 0.1s ease-out;
}
.facebook a{
    color:#1287bf;
}
.facebook:hover{
    font-size: 24px;
}
/*------*/
/*Логотип и меню*/
/*Лого*/
.LogoMenu{
    display: flex;
    align-items: center;
    flex-flow: wrap;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    justify-content: space-around;
    padding: 41px 0;
}
 
.logo{
    margin-top: 20px;
}
.cap{
    color:#dd2a24;
    font-size: 57px;
}
.logo-text{
    padding-left: 11px;
    color:#424242;
}
.text1{
    font-size:37px;
}
.text2{
    font-size:15px;
    font-weight: 400;
}
 
/*Меню*/
.nav{
    display: flex;
    font-size: 15px;
    margin-top: 20px;
}
.nav a{
    margin-left: 38px;
    color:#424242;
    transition: color 0.1s ease-out;
}
.nav a:first-child {
    margin-left: 0;
}
.nav a:hover{
    color:#de2b24;
}
/*Кнопка*/
.button a{
    color:#fff;
}
.button{
    background-color: #de2b24;
    display: flex;
    border-radius: 3px;
    padding: 13px 23px;
    transition: background-color 0.2s ease-out;
    margin-top: 20px;
}
.button:hover{
    background-color: #ea4039;
}
/*Баннер*/
.banner{
    background: url(../img/background.png) center no-repeat / cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Nanum Gothic', sans-serif;
    color:#fff;
    font-weight: bold;
    padding:176px 0px 236px 0px;
    height: 100vh;
 
}
.title{
    text-align: center;
    align-items: center;
    line-height: 1.2;
 
}
.banner__title{
    font-size:51px;
    
}
.descrip{
    font-size: 32px;
    font-weight: 400;
 
}
.button2{
    margin-top: 44px;
    background-color:#f8cd53;
    display: inline-block;
    font-size: 24px;
    padding:13px 40px;
    border-radius: 5px;
    transition: background-color 0.1s ease-out;
}
.button2 a{
    color:#fff;
    
}
.button2:hover {
    background-color:#e6b21f;
}
/*О нас*/
/*------*/
.page{
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    text-align: center;
    position: relative;
    line-height: 1.3;
}                                         
.pageSub:after {
    content: "";
    display: block;
    height: 5px;
    width: 47px;
    background-color:#424242;
    position: absolute;
    left: 48%;
    margin-top: 18px;
}
 
.section{
    margin-top: 70px;
}
/*------*/
 
.page h2{
    font-size: 36px;
}
.page p{
    font-size: 20px;
    font-weight: 400;
}
/*------*/
.services{
    display: flex;
    justify-content: center;
    flex-flow: wrap;
    text-align: center;
    line-height: 2.5;
}
.service {
    flex-basis: 325px;
}
.services h2{
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    font-size:22px;
}
.services p{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 1.3;
}
.service__title{
    line-height: 2;
}
/*Наш подход*/
.ourApproch{
    background-color:#f3f3f3;
}
.step{
    border: 1px solid #e5e5e5;
    display: flex;
    height: 236px;
    margin-top: 28px;
}
.step h2{
    font-size: 18px;
    font-family: 'Nanum Gothic', sans-serif;
    color: #424242;
    text-align: center;
}
.step p{
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    color: #676767;
    line-height: 1.5;
}
.description__wrap{
    line-height: 2.1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.description{
    width: 80%;
    justify-content: center;  
}
/* Позиционирование шагов */
/*--------*/
.photo{
    position: relative;
}
 
.step__number{
    margin-top: 50%;
    background-color: #de2b24;
    display: inline-block;
    color: #fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    line-height: 0.8;
    padding: 12px 30px 12px 30px;
    border: 2px solid #fff;
}
.step__number span {
 
    font-size:60px;
    
}
.step__number p{
    font-size: 20px;
    color:#fff;
}
.step__numberLeft{
    margin-top: 50%;
    background-color: #de2b24;
    display: inline-block;
    color: #fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    line-height: 0.8;
    padding: 12px 30px 12px 30px;
    border: 2px solid #fff;
}
.step__numberLeft span {
 
    font-size:60px;
    
}
.step__numberLeft p{
    font-size: 20px;
    color:#fff;
}
/*---------*/
/* Наша работа */
.ourWork{
    background-color:#de2b24;
}
.page2{
    color:#fff;
}
.page2:after {background-color:#fff;}
/*---------*/
.works{
    display:flex;
    flex-wrap: wrap;
    
}
.work, .work__img{
    height: 252px
}
.sections{
    padding-top:100px;
    padding-bottom:100px;
}
/*Наведение на фото*/
.work__img{
    background:#f35e59;
    position: relative;
    
}
.work__img img{
    transition: opacity 0.1s ease-out;
}
.work:hover .work__img img{
    opacity: 0;
}
/*Текст*/
.work__text{
    text-align: center;
    position: absolute;
    z-index: 10;
    opacity: 0;
    transform: translate(30%, -220%);
    transition: opacity 0.1s ease-out;
}
.work:hover .work__text{
    opacity:1;
}
.work__text i{
    color:#f9afac;
    font-size: 36px;
}
.work__text p{
    color:#fff;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
}
.work_text:nth-child(1) {
    font-size: 26px;
}
/*------*/
.projName{
    font-size: 26px;
}
.projDesc{
    font-size: 16px;
}
/*РЕГИСТРАЦИЯ*/
.contain{
    width: 100%;
    max-width: 682px;
    margin: 0 auto;
}
.reg{
    background:#1287bf;
}
.arr{
    color:#fff;
    font-size: 40px;
    text-align: center;
    border:3px solid #fff;
    border-radius: 100px;
    display: inline-block;
    padding:6px 16px;
    margin-top: 20px;
}
.arrow{
    text-align: center;
}
/*--Блок со стрелкой--*/
.registr{
    background: #fff;
    text-align: center;
    position: relative;
    margin-top: 50px;
    position: relative;
}
.registr:before {
    content: "";
    border:solid transparent;
    position: absolute;
    bottom: 100%;
    left: 50%;
    border-bottom-color: #fff;
    border-width: 22px;
    margin-left: -22px;
}
/*--------------------*/
.reg__text{
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 15px;
    color:#828282;
    line-height: 1.5;
    padding:50px 68px 0px 68px;
}
/*Форма регистрации*/
.reg__form{
    margin-top:32px;
 
}
.reg__form input{
    height: 50px;
    width: 100%;
    margin-top: 8px;
    font-family: 'Nanum Gothic', sans-serif;
    font-size: 14px;
}
.reg__form .input{
    padding-left:20px;
}
.reg__form .submit{
    border: none;
    height: 46px;
    width: 161px;
    margin-top: 36px;
    margin-bottom: 70px;
    color:#fff;
    background:#de2b24;
    font-size: 15px;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: 700;
    border-radius: 5px;
}
.reg__form .submit:hover {
    width: 163px;
    height: 48px;
    font-size: 16px;
    background:#e12019;
    cursor: pointer;
}
/*-----------*/
.cross{
    position: absolute;
    display: inline-block;
    background:#de2b24;
    border: 2px solid #fff;
    border-radius: 100px;
    padding:10px 13px;
    right: 0;
    top:-20px;
}
.cross a{
    font-size: 18px;
    color:#fff;
}
 
/*Начало футера*/
 
 
/* Get in Touch */
.get{
    padding-top: 90px;
    padding-bottom:90px;
    background:#2a2a2a;
}
.page3 h2{
    color:#fff;
    font-size: 29px;
 
}
/*Сети*/
.contain2{
    width: 100%;
    max-width: 341px;
    margin: 0 auto;
}
.touches{
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}
.touch{
    width: 50px;
    height: 50px;
    border:2px solid #515151;
    font-size: 23px;
    text-align: center;
    position: relative;
}
.touch:hover{
    border-color: #de2b24;
}
.touch a{
    color:#fff;
    position: absolute;
    top:20%;
    left:25%;
}
/*--------*/
.subscribe__desc{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color:#a2a2a2;
    text-align: center;
    margin-top: 35px;
}
/*--------*/
.subs__form{
    text-align: center;
}
.subs__form input{
    margin-top: 35px;
}
.adress input{
    width: 100%;
    height: 54px;
    background:#515151;
    color:#cecece;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    padding-left:20px;
    border:none;
}
.sub__address input{
    width: 150px;
    height: 50px;
    font-family: 'Nanum Gothic', sans-serif;
    font-weight: bold;
    font-size: 17px;
    color:#fff;
    background:#2a2a2a;
    border:2px solid #515151;
    border-radius: 5px;
}
.sub__address input:hover {
    border-color: #727272;
    cursor: pointer;
}
/*Футер*/
.footer{
    background:#515151;
    text-align: center;
    
}
.theEnd{
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color:#cecece;
    padding:28px 0px 28px 0px;
}
0
21.12.2019, 23:52
IT_Exp
Эксперт
87844 / 49110 / 22898
Регистрация: 17.06.2006
Сообщений: 92,604
21.12.2019, 23:52
Помогаю со студенческими работами здесь

Как избавиться от пустого пространства между полями отчета QRBand?
Здравствуйте! Создаю отчет при помощи QReport. Все хорошо, кроме одной проблемы. Я для вывода...

я учусь делать сайты, но никак не пойму как организовать поиск и комментарии?
я учусь делать сайты, но никак не пойму как организовать поиск и комментарии?в интернете огромное...

Как открыть диаграмму базы данных в SSMS 2018? Никак не пойму
Типа этого

как сделать так, чтобы условие с if после первого if работали дальше, что-то никак не пойму
#include &lt;stdio.h&gt; int main(void) { int mass; int i, j; for (i=0;i&lt;4;++i){ for...


Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:
5
Ответ Создать тему
КиберФорум - форум программистов, компьютерный форум, программирование
Powered by vBulletin
Copyright ©2000 - 2024, CyberForum.ru