forked from urfu-2018/demo-task-2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path7.html
60 lines (52 loc) · 1.91 KB
/
7.html
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
<!DOCTYPE html>
<html lang="ru">
<head>
<title>CSS Селекторс 2000</title>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="../global.css">
</head>
<body>
<h1 class="global-heading"> </h1>
<p>Решите задачу, используя <code>opacity: <value></code>, где <code>value</code> – непрозрачность от 0 до 1</p>
<main class="global-results">
<style>
article > div
{
opacity: .3;
}
article > div:first-child
{
opacity: 1;
}
article > div:last-child
{
opacity: 1;
}
</style>
<section class="global-result">
<article class="global-scope">
<div>
<img src="http://www.codingdojo.com/blog/wp-content/uploads/css.jpg" alt="css 3 logo">
</div>
<div>
<img src="http://www.codingdojo.com/blog/wp-content/uploads/css.jpg">
</div>
<div>
<img src="http://www.codingdojo.com/blog/wp-content/uploads/css.jpg">
</div>
<div>
<img src="http://www.codingdojo.com/blog/wp-content/uploads/css.jpg" alt="css3">
</div>
</article>
</section>
<section class="global-result">
<img class="global-goal">
</section>
</main>
<nav class="global-nav">
<a class="global-prev">Предыдущее</a>
<a class="global-next">Следующее</a>
</nav>
<script src="../global.js"></script>
</body>
</html>