You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
635 B
HTML
26 lines
635 B
HTML
5 years ago
|
<html>
|
||
|
<head>
|
||
|
<title>border tag left-color solid</title>
|
||
|
<style>
|
||
|
.style1 {
|
||
|
border:4px solid #ccff99;
|
||
|
border-left-color:red;
|
||
|
font-family:arial;
|
||
|
font-weight:bold
|
||
|
}
|
||
|
.style2 {
|
||
|
border:"none";
|
||
|
font-family:verdana;
|
||
|
font-weight:bold
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
Move mouse in and out to see the style change.
|
||
|
<div style="width:300;
|
||
|
height:120;
|
||
|
background-color:pink"
|
||
|
onmouseover="this.className='style1'"
|
||
|
onmouseout="this.className='style2'">One's first love is always perfect until one meets one's second love. Elizabeth Aston</div>
|
||
|
</body>
|
||
|
</html>
|