Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

opacity [РЕШЕНО]


Recommended Posts

народ скажите если нужно что бы при наведении курсора на объект он осветлялся это что нужно для каждого обьекта прописать opacity

пример:

.devices .image-1:hover {
opacity: 0.3;
}
.devices .image-2:hover {
opacity: 0.3;
}
.devices .image-3:hover {
opacity: 0.3;
}
.devices .image-4:hover {
opacity: 0.3;
}
.devices .image-5:hover {
opacity: 0.3;
}
.devices .image-6:hover {
opacity: 0.3;
}

Link to comment
Share on other sites


вам бы наоборот - по-умолчанию добавить прозрачности, а при :hover ставить "opacity: 1"

это как не понял
Link to comment
Share on other sites


например:

/*********не активно***************/
.devices .image-1 {
}
/*****когда наводите на объект**************/
}
.devices .image-1:hover {
opacity: 0.3;
}

у меня так и было сейчас при opacity: 1
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.