Внимательно прочитай условие)Задача решена?Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
Вот так? -Внимательно прочитай условие)
Должно быть наоборот, кнопка на которую наводишь остается, а другие исчезают
Хотел похвалить, но нетВот так? -Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
span:has(~ span:ishover)) {
opacity: 0;
}
span:hover ~ span {
opacity: 0;
}
AmazingI want to participate but is hard to understand russian))
The css to do this would be the use of :has and ~
:has To select the previous siblings:
~ To select the next siblings:
Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
Task:I want to participate but is hard to understand russian))
Yes, this is a good solution.Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
Task:
There are 2 buttons, when we hover the cursor over one of them, the second disappears.
The task needs to be solved only using HTML and CSS
without using javascript
Yes, this is a good solution.
Try to solve this without using the pseudo-classes :is() and :has()
You can solve this using only one pseudo-class :hover. Then it will be more cross-browser
*, button:hover {
opacity: 0;
}
It doesn't workВы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
90%. That's quite enough, I don't argueOh, :has is supported by all major browsers
It doesn't work
I do not give unnecessary information so as not to limit the possible number of solutions. This will allow us to find a lot more solutions than I know.
I just saw now how wrong it is lol
I remember reading an article about * when you recommended me not to use it, it should be possible to do something like this, I don't remember how
I do not give unnecessary information so as not to limit the possible number of solutions. This will allow us to find a lot more solutions than I know.
This is a good and simple solution!Вы не можете просматривать ссылку пожалуйста воспользуйтесь следующими ссылками Вход или Регистрация
делаешь в over огромную кнопку с бг фона) при наведении все будет пропадать)
Кидай в codepen посмотримделаешь в over огромную кнопку с бг фона) при наведении все будет пропадать)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?