• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Web Apps Hover Effects

New Here ,
Jul 25, 2016 Jul 25, 2016

Copy link to clipboard

Copied

Hi guys,

I trying to create a hover effect for web app images on the home page.  The clients old site has it, and she likes it, but I can't get it to work on the new site.  Be gentle, I'm a designer not a developer.

She wants this... (circle images on home page) http://www.indianhairtx.com/

But it's coming out like this... http://personaltouchhair.businesscatalyst.com/

I tried searching the web and forums, but no solution.  I know it can be done, as I have seen it in templates and other sites.

Thanks!

Derek

TOPICS
Web apps

Views

724

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Participant , Aug 06, 2016 Aug 06, 2016

Hi,

This is a pretty simple CSS trick.

using :hover after a CSS class will allow you to apply different effects depending on where the cursor is on screen, and what item it's 'hovering' over.

If you update your CSS to the following it'll work.

.circle { width: 250px;  height: 250px;  border-radius: 50%;  margin: 0 auto;  background-color:#3c2415;}

.circle img {  border-radius: 50%;  opacity: 0.2;  }

.circle img:hover {  border-radius: 50%;  background-color:#3c2415;  opacity: 1;}

.circle-over {  width:

...

Votes

Translate

Translate
Enthusiast ,
Aug 05, 2016 Aug 05, 2016

Copy link to clipboard

Copied

Perhaps this example will provide some insight: codepen.io/r-k-b/pen/XKxyaZ

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Aug 06, 2016 Aug 06, 2016

Copy link to clipboard

Copied

Hi,

This is a pretty simple CSS trick.

using :hover after a CSS class will allow you to apply different effects depending on where the cursor is on screen, and what item it's 'hovering' over.

If you update your CSS to the following it'll work.

.circle { width: 250px;  height: 250px;  border-radius: 50%;  margin: 0 auto;  background-color:#3c2415;}

.circle img {  border-radius: 50%;  opacity: 0.2;  }

.circle img:hover {  border-radius: 50%;  background-color:#3c2415;  opacity: 1;}

.circle-over {  width: 250px;  height: 250px;  border-radius: 50%;  margin: -250px auto 0 auto;}

I suggest checking out CSS :hover Selector  for more info on the topic.

If you need any more help, feel free to let me know.

Kind regards,

Nate C.

Making Creativity Smart | Colourful Owl

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 15, 2016 Aug 15, 2016

Copy link to clipboard

Copied

Thanks guys!  Worked great!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 15, 2016 Aug 15, 2016

Copy link to clipboard

Copied

As a note, if you are doing hover, always go for the parent rather then child. It allows you to then manipulate all the child elements more easily.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 15, 2016 Aug 15, 2016

Copy link to clipboard

Copied

Did you notice the unpleasant flicker effect when hovering over the lettering?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Aug 16, 2016 Aug 16, 2016

Copy link to clipboard

Copied

Because the hover is on the image not the parent

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 31, 2016 Aug 31, 2016

Copy link to clipboard

Copied

Yes I did notice that, but I can't seem to fix it.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Aug 31, 2016 Aug 31, 2016

Copy link to clipboard

Copied

LATEST

Perhaps try again, using this example? (demo video)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines