diff --git a/StyleSheet2.css b/StyleSheet2.css new file mode 100644 index 00000000..b7c64a4f --- /dev/null +++ b/StyleSheet2.css @@ -0,0 +1,82 @@ +.list { + list-style-type: disc; +} +.list__item { + padding: 5px; + transition: color 0.3s ease; +} + .list__item:hover { + color: #f83030; + } +.family { + display: block; +} +.family__parent1 { + margin: 10px; + padding: 5px; +} + +.parent1__child { + padding: 5px; + margin: 5px 10px; + color: red; +} +.family__parent2 { + color: orange; + margin: 10px; + padding: 5px; +} +.parent2__child { + color: #b4005a; + border: 1px dashed orange; + padding: 5px; + margin: 5px 10px; +} +.family__parent3 { + margin: 10px; + padding: 5px; + color: initial; +} +.parent3__child { + color: initial; + padding: 5px; + margin: 5px 10px; +} +.family__parent2 ~ .family__parent3, +.family__parent2 ~ .family__parent3 .parent3__child { + color: green; +} +.family__parent2 ~ .family__parent3 .parent2__child { + color: purple; + border: none; +} +.programming-text { + font-size: 16px; +} +.programming-text__link { + list-style-type: none; + text-decoration: none; + color: inherit; + font-weight: bold; +} + .programming-text__link::before { + content: "🌐"; + font-size: 10px; + } +.programming-list { + position: relative; + padding-bottom: 20px; + list-style-type: none +} + .programming-list::after { + content: ""; + display: block; + width: 200px; + height: 50px; + margin-top: 20px; + background-image: url('https://ssau.ru/i/logo/logo-white-ru.svg'); + background-repeat: no-repeat; + background-size: contain; + background-color: royalblue; + border-radius: 3px; + } \ No newline at end of file diff --git a/lab2.html b/lab2.html new file mode 100644 index 00000000..8657f1b5 --- /dev/null +++ b/lab2.html @@ -0,0 +1,73 @@ + + + + + + + Лабораторная работа №2 + + +

Лабораторная работа 2

+
+

Задание 1

+

Популярные стриминговые сервисы:

+ +
+
+

Задание 2

+
+
+

Parent 1

+
child 1
+
child 2
+
child 3
+
child 4
+
+ +
+

Parent 3

+
child 1
+
child 2
+
+ +
+

Parent 2

+
child 1
+
child 2
+
+ +
+

Parent 3

+
child 1
+
child 2
+
child 2
+
+
+
+
+
+

Задание 3

+

Языки программирования — это инструменты, с помощью которых разработчики создают программное обеспечение, веб-приложения, игры, алгоритмы и многое другое. Каждый язык имеет свои особенности, синтаксис и сферу применения. Ниже представлены некоторые из наиболее известных языков:

+ +

Это лишь малая часть из множества существующих языков, и выбор зависит от задач, которые нужно решить.

+
+
+ + \ No newline at end of file