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: 12 additions & 0 deletions tasks/1.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ <h1 class="global-heading">&nbsp;</h1>
<section class="global-result">
<style>
/* ваш код здесь... */
div {
background: #6698ff;
}
.c1{
background: #ff6698;
}
#id{
background: #98ff66
}
aside{
background: #6698ff;
}
</style>

<article class="global-scope">
Expand Down
6 changes: 6 additions & 0 deletions tasks/10.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
p[class="title"]::first-letter{
color: #ff6698;
}
p[class="description"]::first-line{
color: #6698ff;
}
</style>

<section class="global-result">
Expand Down
9 changes: 9 additions & 0 deletions tasks/11.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
input[value="invalid-email"]{
border: 3px solid #ff6698;
}
input[value="invalid-email"]:focus{
border: 3px solid #6698ff;
}
input[value="email@yandex.ru"]{
border: 3px solid #98ff66;
}
</style>

<section class="global-result">
Expand Down
9 changes: 9 additions & 0 deletions tasks/12.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,15 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
div {
background-color: #ffff66;
}
div:first-child,
div:nth-child(3),
div:nth-child(7),
div:last-child{
background-color: #ffb366;
}
</style>

<section class="global-result">
Expand Down
3 changes: 3 additions & 0 deletions tasks/13.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
div:nth-of-type(4n+1) > div:first-of-type{
background: #ff6698;
}
</style>

<section class="global-result">
Expand Down
6 changes: 6 additions & 0 deletions tasks/14.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
li {
list-style-type: none;
}
li:before {
content: "+ ";
}
</style>

<section class="global-result">
Expand Down
3 changes: 3 additions & 0 deletions tasks/15.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
ul > li a[href$=".zip"]:after{
content: " \2193";
}
</style>

<section class="global-result">
Expand Down
12 changes: 12 additions & 0 deletions tasks/16.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
div{
background: #ff6698 !important;
}
.c1{
background: #6698ff !important;
}
#id1{
background: #ffb366 !important;
}
.c7{
background: #ffff66 !important;
}
</style>

<section class="global-result">
Expand Down
6 changes: 6 additions & 0 deletions tasks/17.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
input[type="checkbox"] {
outline: none;
}
input[type="checkbox"]:checked ~ input[type="checkbox"]{
outline: 1px solid #ff6698;
}
</style>

<section class="global-result">
Expand Down
3 changes: 3 additions & 0 deletions tasks/18.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
div:not(:hover){
opacity: 0.5;
}
</style>

<section class="global-result">
Expand Down
18 changes: 18 additions & 0 deletions tasks/19.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,24 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
article > div{
background: #ffb366;
}
div > div{
background: white;
}
div:first-of-type > div:last-of-type{
background: #98ff66;
}
div:nth-of-type(2) > div:nth-of-type(2n+2){
background: #ff6698;
}
div:nth-of-type(3) > div:nth-of-type(2n+1){
background: #6698ff;
}
div:last-of-type > div:first-of-type{
background: #ffff66;
}
</style>

<section class="global-result">
Expand Down
11 changes: 11 additions & 0 deletions tasks/2.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
.c1{
background: #ff6698;
border: 2px solid #000;
}
.c2{
background: #ffb366;;
}
.c1.c2{
background: #6698ff;
border: 2px solid #000;
}
</style>

<section class="global-result">
Expand Down
8 changes: 7 additions & 1 deletion tasks/20.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,18 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
.red-gt2 div:nth-last-child(n+3){
background: #FF6698;
}
.red-gt2 div:nth-last-child(n+3) ~ div{
background: #FF6698;
}
</style>

<section class="global-result">
<article class="global-scope">
<div class="red-gt2">
<div></div>
<div></div>
</div>
<div class="red-gt2">
<div></div>
Expand Down
6 changes: 6 additions & 0 deletions tasks/3.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
article > div{
border: 2px solid #000;
}
div > div{
background: #6698ff;
}
</style>

<section class="global-result">
Expand Down
3 changes: 3 additions & 0 deletions tasks/4.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
article > article:nth-of-type(n+2){
border-top: 1px solid #000;
}
</style>

<section class="global-result">
Expand Down
4 changes: 4 additions & 0 deletions tasks/5.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
.tab{
background: black;
color: white;
}
</style>

<section class="global-result">
Expand Down
1 change: 1 addition & 0 deletions tasks/6.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
[href*="yandex.ru"] { color: #ff6698; }
</style>

<section class="global-result">
Expand Down
3 changes: 3 additions & 0 deletions tasks/7.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
img:not([alt]){
opacity: 0.5;
}
</style>

<section class="global-result">
Expand Down
3 changes: 3 additions & 0 deletions tasks/8.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
a[target="_blank"]{
color: #ff6698;
}
</style>

<section class="global-result">
Expand Down
18 changes: 18 additions & 0 deletions tasks/9.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,24 @@ <h1 class="global-heading">&nbsp;</h1>
<main class="global-results">
<style>
/* ваш код здесь... */
a:visited[href]{
color: #ffb366;
}
a:hover[href]{
color: #ff6698;
}
a:active[href]{
color: #98ff66;
}
a:visited:not([href]){
color: black;
}
a:hover:not([href]){
color: gray;
}
a:active:not([href]){
color: black;
}
</style>

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