BaDBoYKilleR
Registered
Търся скрипт който при минаване през даден линк да подчартава или да слага фон на текста.
Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
a:hover{
text-decoration: underline;
color: black;
}
a:hover{
text-decoration: none;
color: black;
background-color: white;
}
a:hover{
text-decoration: underline;
color: black;
background-color: white;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
a:link {
text-decoration:none;
color: #ffffff;
border:solid 1px blue;
background:#000000;
padding:3px;
}
a:hover {
color: #000000;
border:solid 1px red;
background:#FF0000;
padding:3px;
text-decoration:none;
}
</style>
</head>
<body>
<a href="#" id="fon">Тука ти е текста</a>
</body>
</html>
<a href="Линк" style="border: 1px solid rgb(204, 204, 204); padding: 5px; background: rgb(204, 255, 51) none repeat scroll 0% 50%; display: block; margin-bottom: 5px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: 16px; font-weight: bold; text-align: center;">Текст</a>
perer каза:Това е да ти го подчертава
Код:a:hover{ text-decoration: underline; color: black; }
Това е да сменя фона
Код:a:hover{ text-decoration: none; color: black; background-color: white; }
А това е и с двата ефекта.
Код:a:hover{ text-decoration: underline; color: black; background-color: white; }
Успех!