Шумейко Евгений#113
Шумейко Евгений#113EvgeniiShumeiko wants to merge 2 commits intourfu-2018:masterfrom EvgeniiShumeiko:master
Conversation
|
🍏 Пройден линтинг и базовые тесты |
|
🍏 Пройден линтинг и базовые тесты |
SemyonMakhaev
left a comment
There was a problem hiding this comment.
🍅
Привет! Молодец, что сделал 20-ое задание 👍
| div, | ||
| aside | ||
| { | ||
| background: #6594ff; |
There was a problem hiding this comment.
Для задания цвета фона используй background-color
| <main class="global-results"> | ||
| <style> | ||
| /* your styles here */ | ||
| .global-scope > .title:first-letter |
There was a problem hiding this comment.
Класс родителя точно нужно указывать? И в других местах по коду обрати внимание
| <main class="global-results"> | ||
| <style> | ||
| /* your styles here */ | ||
| .global-scope > div:nth-of-type(4n+1) > div:first-child |
There was a problem hiding this comment.
Попробуй упростить селектор с помощью псевдокласса only-of-type
| <main class="global-results"> | ||
| <style> | ||
| /* your styles here */ | ||
| .global-scope > ul > li:before |
|
|
||
| .global-scope input:checked | ||
| { | ||
| outline: none !important; |
There was a problem hiding this comment.
Можно не переназначать правило, если в верхнем селекторе сузить выборку. Можно после оператора ~ выбирать только элемент, не содержащие псевдокласс checked
| <main class="global-results"> | ||
| <style> | ||
| /* your styles here */ | ||
| .global-scope > .red-gt2:not(:nth-child(-n+2)) > div |
| .global-scope div > div | ||
| { | ||
| background: #6594ff; | ||
| border: none; |
There was a problem hiding this comment.
Можно не переназначать правило, если в верхнем селекторе выбрать только непосредственных потомков родительского элемента при помощи оператора >
Посмотреть решение