Nav menu slanted block effects
-
Using CSS, I’ve applied slanted background block effects to certain links on my nav menu… but unfortunately the text becomes slanted as well! Any ideas on how to get the text to stand up straight?
CSS for the gray “login” block is as follows:
.login-link { padding-top: 8px !important; padding-bottom: 22px !important; padding-left: 10px !important; padding-right: 10px !important; height: 30px; background: #666666; transform: skewX(-30deg); -webkit-transform-origin: 0 0 !important; }
p.s. Site is under dev on a restricted subdomain so I’ve just uploaded a screenshot of what it looks like.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Nav menu slanted block effects’ is closed to new replies.