Tabs_test_2
How do I make an tabs_test_2?
What is a tabs_test_2? How do you make a tabs_test_2? This script and codes were developed by Vivi Lai on 04 August 2022, Thursday.
Tabs_test_2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Tabs_test_2</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <head> <h1>Tabs_test_1</h1> <ul class="nav"> <li class="tab1"><a href="page1.html">Page.1</a></li> <li class="tab2"><a href="page2.html">Page.2</a></li> <li class="tab3"><a href="page3.html">Page.3</a></li> <li class="tab4"><a href="page4.html">Page.4</a></li> </ul>
</head>
<section id="content"> <div class="con_p1"> <p>Tabs don’t have to be horizontal but they usually are so our first step is going to be to create a horizontal list.</br> We’re going to try a few different things with CSS, but we’ll be sticking with the following basic HTML structure</P> </div> <div class="con_p2"> <p>When setting the style for several link states, there are some order rules:</br> a:hover MUST come after a:link and a:visited</br> a:active MUST come after a:hover</P> </div> <div class="con_p3"> <p>Hello</br> LINE1</br> a:active MUST come after a:hover</P> </div>
</section>
</body>
</html>
Tabs_test_2 - Script Codes CSS Codes
.nav ul { list-style: none; padding: 0; margin: 0
}
/* Inline list-items
The most obvious first thing we can do is make the list horizontal. The most straight-forward solution for this is to set the display property of the boxes created by the li elements to inline: */
.nav li { display: block; height: 60px; float: left; border: solid rgba(0, 0, 0, 0.1); border-width: 1px 1px 0 1px; margin: 0 5px 0 0; background-color: rgba(0, 0, 0, 0.2);
}
.nav li a { position: relative; top: 20px; padding: 50px;
}
.nav li:hover { background-color: rgba(0, 0, 0, 0.8);
}
nav a:link { color: rgba(0, 0, 0, 0.8)
}
.nav a:hover { color: #fff
}
.section div:nth-child(3) > p{ display: block; height: 60px; margin: 0; padding: 0 50px; background-color: rgba(0, 0, 0, 0.8); color: #fff;
}
.tab2:focus{ }
.tab3:focus~.con_p3{ display:block;
}
#content{ border: solid rgba(0, 0, 0, 0.3); border-width: 1px; padding: 50px; clear:both; height:200px;
}
.con_p2, .con_p3{ display:none;
}
Developer | Vivi Lai |
Username | Vivi_Lai |
Uploaded | August 04, 2022 |
Rating | 3 |
Size | 2,242 Kb |
Views | 38,456 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Animation-1 | 1,806 Kb |
Vi_p_001 | 1,620 Kb |
4G_20160728 | 1,914 Kb |
Initialization | 2,419 Kb |
Stuckture1-2 | 2,996 Kb |
V_V try | 1,831 Kb |
0615-1 | 1,922 Kb |
P1 | 1,533 Kb |
Vi_p_003 | 1,521 Kb |
Stuckture1 | 2,483 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Replace url via jquery | Serluk | 1,429 Kb |
Simple personal profile | Miroot | 2,856 Kb |
Jquery 2d character movement | Drewtadams | 4,291 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
ASCII triangle image overlay | Mitchdot | 2,200 Kb |
Bootstrap 3 Price Table | Honglio | 2,655 Kb |
Tree growth tests | Orchard | 3,818 Kb |
Fellowship of the Ring | Aussieyang | 2,639 Kb |
Drawing a Terminal with CSS | Lachlanjc | 3,185 Kb |
Mega menu | DimaZubkov | 5,066 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!