-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Зориков Кирилл #110
base: master
Are you sure you want to change the base?
Зориков Кирилл #110
Changes from all commits
cedb6b9
381c499
212b281
d3251c7
0decc28
dbf5ce1
6626dd3
ee98b92
8211ac8
1d92d7a
f0904bd
fbfc80e
06c741c
9ea4ed2
76e81bd
3e38b5b
2d0eaf4
e4a297a
2efe7cd
2d0e1f1
cf2a033
de6f54e
3d4a30c
4ffb529
48cc03c
fac8bed
b7da927
2a2dfbb
8da144b
2568b62
b5c2732
85e0ef3
310d1ea
509cc6a
5eaa004
2dcaac3
f93f7cd
f6c72b9
7198fe2
828307a
270a343
4d6dd5a
2d7a11b
da527c8
dc04879
81c14b4
b357018
2df42b3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,25 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article div:first-child | ||
{ | ||
background: #68a7db; | ||
} | ||
|
||
.c1 | ||
{ | ||
background: #fb68c0; | ||
} | ||
|
||
#id | ||
{ | ||
background: #85f68f; | ||
} | ||
|
||
aside | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. объединить с первым |
||
{ | ||
background: #68a7db; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,20 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope input:invalid | ||
{ | ||
border: 3px solid #fb77b6; | ||
} | ||
|
||
.global-scope input:valid | ||
{ | ||
border: 3px solid #54e892; | ||
} | ||
|
||
.global-scope input:focus | ||
{ | ||
border: 3px solid blue; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,18 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope div | ||
{ | ||
background: yellow; | ||
} | ||
|
||
article div:first-child, | ||
article div:nth-child(3), | ||
article div:nth-child(7), | ||
article div:last-child | ||
{ | ||
background: orange; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. цвета неправильные |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,12 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope div:first-child div, | ||
.global-scope div:last-child div, | ||
.global-scope div:nth-child(5) div | ||
{ | ||
background: #f7549e; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. можно гораздо проще, обрати внимание что этот див единственный такого типа в своем родителе |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,25 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope div:first-child | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. зачем first-child? |
||
{ | ||
background: #f7549e; | ||
} | ||
|
||
.c1 | ||
{ | ||
background: #71c1fd !important; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. тут можно без импортант, не используй его |
||
} | ||
|
||
#id1 | ||
{ | ||
background: orange; | ||
} | ||
|
||
.c7 | ||
{ | ||
background: yellow !important; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,15 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope div | ||
{ | ||
opacity: .3; | ||
} | ||
|
||
.global-scope div:hover | ||
{ | ||
opacity: .66; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. другие квадраты должны тоже менять цвет в зависимости от наведения на какой-то один |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,22 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
div.c1.c2 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. зачем уточнение тега? |
||
{ | ||
background: #68a7db; | ||
border: 2px solid #000; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. зачем тут бордер? |
||
} | ||
|
||
.c1 | ||
{ | ||
background: #fa71ba; | ||
border: 2px solid #000; | ||
} | ||
|
||
.c2 | ||
{ | ||
background: #eeb87e; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,10 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.red-gt2:nth-child(n+3) div | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
а не последние два |
||
{ | ||
background: #f858ad; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,15 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope article:nth-child(2n) | ||
{ | ||
background: yellow; | ||
} | ||
|
||
.global-scope article | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. у первого не должно быть бордера |
||
{ | ||
border-top: 1px solid #000; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,11 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
input[type='checkbox']:checked + br + div | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. плохо, что зависит от br между ними, вдруг мы его уберем или добавим еще один? |
||
{ | ||
color: white; | ||
background: black; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,15 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
article a | ||
{ | ||
color: #fb77b6; | ||
} | ||
|
||
article a:first-child | ||
{ | ||
color: blue; | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. должно зависеть от адреса сайта, на вк - синий, на яндекс - красный |
||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,15 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
.global-scope img | ||
{ | ||
opacity: .3; | ||
} | ||
|
||
.global-scope img[alt^='css'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. можно просто смотреть на наличие alt и тогда одного селектора хватит |
||
{ | ||
opacity: 1; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,10 @@ <h1 class="global-heading"> </h1> | |
|
||
<main class="global-results"> | ||
<style> | ||
/* your styles here */ | ||
a[target='_blank'] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. это не показатель того, что внешний по отношению к my-site |
||
{ | ||
color: #fb77b6; | ||
} | ||
</style> | ||
|
||
<section class="global-result"> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
можно без first-child