Skip to content

Conversation

@SvetlanaFomina
Copy link

@SvetlanaFomina SvetlanaFomina commented Oct 16, 2017

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

@honest-hrundel
Copy link

🍏 Пройден линтинг и базовые тесты

<style>
/* your styles here */

div:first-child,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем first-child?

article div:hover
{
opacity: 1;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Навожу рядом с квадратиками, срабатывает hover. Такого быть не должно
2017-10-19 15 49 50 2017-10-19 16-55-36

div div:nth-child(n+3)
{
background: #ff6698;
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Сложновато. А сможешь упростить решение?

<style>
/* your styles here */

article > article ~ article

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Здесь селектор можно написать проще

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants