
The blue color will available for the hover tab.
First let's see the html structure for this tab.
And we applied the following css for our tab:
ul#nav {
position: relative;
float: left;
width: 99%;
height: 150px;
border-bottom: 1px solid #d9d9d9;
border-top: 1px solid #d9d9d9;
border-left: 1px solid #d9d9d9;
}
ul#nav li {
float: left;
list-style: none;
border-bottom: 7px solid #a9a9a9;
border-left: 1px solid #a9a9a9;
border-right: 1px solid #a9a9a9;
border-top: 2px solid #a9a9a9;
width: 156px;
height: 140px;
background-color: #fcfcfc;
}
ul#nav li:hover {
border-bottom: 7px solid #0066cc;
background-color: #f9f9f9;
}
ul#nav li a {
color: #a9a9a9;
position: relative;
z-index: 2;
float: left;
font-size: 15px;
text-decoration: none;
padding: 35px 15px;
font-weight: normal;
letter-spacing: 1px;
word-spacing: 5px;
width: 140px;
height: 140px;
}
ul#nav li a:hover {
color: #0066cc;
}
ul#nav #selected {
border-bottom: 7px solid #0066cc;
}
ul#nav #selected a {
color: #0066cc;
}
You can download the code from here
See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide


No comments:
Post a Comment