Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2

Thread: fade

  1. #1
    Senior Member
    Join Date
    Jan 2014
    Posts
    392
    Member #
    38172
    Liked
    4 times

    fade

    hey, so im working on building my navbar and home button from scratch, im almost there im just wondering how i do the fade.

    learning this ****

    notice when you highlight the button it slowly fades to the background instead of switching instantly. ive made a button and im trying to do it for that. heres the css. pretty straightforward so far

    .button{
    text-decoration: none;
    height: 60px;
    font-family: arial;
    color: #363636;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0px 0px 1px #262626;
    border: 1px solid #262626;
    border-top: 1px solid grey;
    width: 60px;
    display: block;
    tet-align: center;
    line-height: 60px;
    border-radius: 10px;
    text-align:center;
    background:-webkit-gradient(linear,left top,left bottom,from(rgb(168,168,168)),to(rgb(69,69,69)));
    background:-moz-linear-gradient(top,rgb(168,168,168),rgb(69,69,69));
    }

    a.button:hover{
    background:-webkit-gradient(radial,50% 100%,10,50% 50%,90,from(rgba(255,255,255,1)),to(rgba(69,69,69, 1)));
    background:-moz-radial-gradient(center 80px 45deg,circle cover,rgba(255,255,255,1) 0%,rgba(0,28,78,1) 100%);
    border-radius: 9px;
    }

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,772
    Member #
    5580
    Liked
    723 times
    I just fixed it for you ...
    learning this ****

    I changed this:

    .button1 ul li:hover{

    You had it like this:
    a ul li.button1:hover{



Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:10 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com