Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion tasks/1.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<section class="global-result">
<style>
/* ваш код здесь... */
div, aside {
background-color: #6698ff;
}

.c1 {
background-color: #ff6698;
}

#id {
background-color: #98ff66;
}
</style>

<article class="global-scope">
Expand Down
8 changes: 7 additions & 1 deletion tasks/10.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
.title::first-letter{
color: #ff6698;
}

.description::first-line{
color: #6698ff;
}
</style>

<section class="global-result">
Expand Down
12 changes: 11 additions & 1 deletion tasks/11.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
input:nth-child(1){
border: 3px solid #ff6698;
}

input:nth-child(2){
border: 3px solid #98ff66;
}

input:focus {
border: 3px solid #6698ff;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/12.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
div:empty {
background-color: #ffff66;
}

div {
background-color: #ffb366;
}
</style>

<section class="global-result">
Expand Down
12 changes: 11 additions & 1 deletion tasks/13.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
div:nth-child(1) div:first-child {
background-color: #ff6698;
}

div:nth-child(5) div:first-child {
background-color: #ff6698;
}

div:nth-child(9) div:first-child {
background-color: #ff6698;
}
</style>

<section class="global-result">
Expand Down
4 changes: 3 additions & 1 deletion tasks/14.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
ul>:before {
content: "+ ";
}
</style>

<section class="global-result">
Expand Down
4 changes: 3 additions & 1 deletion tasks/15.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
[href$=".zip"]:after {
content: ' \2193';
}
</style>

<section class="global-result">
Expand Down
16 changes: 15 additions & 1 deletion tasks/16.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,21 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
div:empty {
background-color: #ff6698;
}

div.c1 {
background-color: #6698ff;
}

#id1 {
background-color: #ffb366;
}

div.c7 {
background-color: #ffff66!important;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/17.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
input:checked ~ input {
outline: 1px solid #ff6698;
}

input:checked {
outline: none!important;
}
</style>

<section class="global-result">
Expand Down
12 changes: 11 additions & 1 deletion tasks/18.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
div{
opacity: 0.5;
}

article:hover > div{
opacity: 0.2;
}

article div:hover {
opacity: 1;
}
</style>

<section class="global-result">
Expand Down
24 changes: 23 additions & 1 deletion tasks/19.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,29 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
article div {
background-color: #ffb366;
}

div div {
background-color: #fff;
}

div:first-child div:last-child {
background-color: #98ff66;
}

div:nth-child(2) div:nth-child(2n) {
background-color:#ff6698;
}

div:nth-child(3) div:nth-child(2n-1) {
background-color: #6698ff;
}

div:last-child div:first-child {
background-color: #ffff66;
}
</style>

<section class="global-result">
Expand Down
13 changes: 12 additions & 1 deletion tasks/2.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,18 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
.c1 {
border: 2px solid #000;
background-color: #ff6698;
}

.c1.c2 {
background-color: #6698ff;
}

.c2 {
background-color: #ffb366;

</style>

<section class="global-result">
Expand Down
4 changes: 3 additions & 1 deletion tasks/20.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
.red-gt2:nth-child(n+3) div {
background-color: #ff6698;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/3.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
div:not(:empty) {
border: 2px solid #000;
}

div div{
background-color: #6698ff;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/4.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
article:not(:first-of-type){
border-top: 1px solid #000;
}

article hr {
border-top: 1px solid #0000;
}
</style>

<section class="global-result">
Expand Down
5 changes: 4 additions & 1 deletion tasks/5.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
#checkbox:checked ~.tab {
background-color: black;
color: white;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/6.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
section article a {
color: #ff6698;
}

[href*="vk.ru"]{
color: #6698ff;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/7.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,13 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
[alt*="css"] {
opacity: 1;
}

article img {
opacity: 0.3;
}
</style>

<section class="global-result">
Expand Down
4 changes: 3 additions & 1 deletion tasks/8.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
[target="_blank"] {
color: #ff6698;
}
</style>

<section class="global-result">
Expand Down
21 changes: 20 additions & 1 deletion tasks/9.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,26 @@ <h1 class="global-heading">&nbsp;</h1>

<main class="global-results">
<style>
/* ваш код здесь... */
.link:hover {
opacity: 0.5;
}

[href*="https"]:hover {
color: #ff6698;
opacity: 1;
}

.link:active {
opacity: 1;
}

[href*="https"]:active {
color: #98ff66;
}

[href*="https"]:visited {
color: #ffff66;
}
</style>

<section class="global-result">
Expand Down