Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Neat CSS effect on links..

Featured Replies

I think it's the Sliding Doors approach. Basically making the hover state for a link have a small background image or two.

I think it's the Sliding Doors approach. Basically making the hover state for a link have a small background image or two.

 

My first thoughts as well - go and dig into the CSS and see what they are doing! :)

Looks to me like it's just a background image for that menu item :unknw:

Maybe it uses a different class for the tab of the page you're on that has that background image.

basically how it is done is the same way as any hoverover menu is done with images, but they have also added a class in as well so when you are on that section the class is added into the link.

 

So basically the css would be like this

 

#menu li a:hover, #menu li a.active{***information about hover status** }

 

 

so then in the menu you would go:

 

<div id="menu">

<ul>

<li><a href="#">normal hover</a></li>

<li><a href="#" class="active">always on hovered</a></li>

</ul>

 

This however only works if the image you are using is the same for hover and active :)

 

 

You could separate them off if you wanted the active one to be a different image. Hope this makes some sense....if you still need help PM me and I will code you a quick sample :)

you are just talking about the red square with rounded corners that is behind the word blog on the menu...right?

Would it be easy to create those bg images?

 

Sure, it's just a rounded rectangle. Assuming you have some kind of graphics program?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.