Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a:link, a:visited {
- background-color: white;
- color: black;
- border: 2px solid green;
- padding: 10px 20px;
- text-align: center;
- text-decoration:none;
- display: inline-block; /*eventualmente ensino isto*/
- }
- a:hover, a:active {
- background-color:green;
- color:white;
- }
- /* link não visitado
- a:link {
- color: red;
- text-decoration:none;
- background-color: yellow;
- }
- /* link visitado
- a:visited {
- color: green;
- text-decoration:none;
- background-color: cyan;
- }
- /* rato passa por cima
- a:hover {
- color: blue;
- text-decoration:underline;
- background-color: lightgreen;
- }
- /* link ativo/selecionado
- a:active {
- color: black;
- text-decoration:underline;
- background-color: hotpink;
- }
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement