Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Sign in to follow this  
Anastasis

Decorate you text links with different CSS styles

Recommended Posts

Πρώτα απ'όλα δείτε ένα παράδειγμα εδώ.

CHANGE THE COLOR OF YOUR LINK .


 

κώδικας:
<style type="text/css">
a.color:link {color: #009900}
a.color:visited {color: #009900}
a.color:hover {color: #CC0000}
</style>



CHANGE THE DECORATION OF YOUR LINK .
 

κώδικας:
<style type="text/css">
a.decor:link {color: #FF6600; text-decoration: none}
a.decor:visited {color: #FF6600; text-decoration: none}
a.decor:hover {text-decoration: underline;}
</style>



CHANGE THE DECORATION OF YOUR LINK 2 .
 

κώδικας:
<style type="text/css">
a.decor:link {color: #CC33CC; text-decoration: none}
a.decor:visited {color: #CC33CC; text-decoration: none}
a.decor:hover {text-decoration: underline overline;}
</style>



CHANGE THE BACKGROUND OF YOUR LINK .
 

κώδικας:
<style type="text/css">
a.bg:link {color: #0066FF}
a.bg:visited {color: #0066FF}
a.bg:hover {background: #FFFFFF}
</style>



CHANGE THE SIZE OF YOR LINK .
 

κώδικας:
<style type="text/css">
a.size:link {color: #9900CC}
a.size:visited {color: #9900CC}
a.size:hover {font-size: 12px}
</style>



CHANGE THE FONT OF YOUR LINK .
 

κώδικας:
<style type="text/css">
a.font:link {color: #666666}
a.font:visited {color: #666666}
a.font:hover {font-family:Times New Roman}
</style>
  • Like 1

Share this post


Link to post
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

Sign in to follow this  

×