A Pen by Nicolas Galler on CodePen.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>PureCSS Tabs</h1> | |
<div class="pc-tab"> | |
<input checked="checked" id="tab1" type="radio" name="pct" /> | |
<input id="tab2" type="radio" name="pct" /> | |
<input id="tab3" type="radio" name="pct" /> | |
<nav> | |
<ul> | |
<li class="tab1"> | |
<label for="tab1">First Tab</label> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://kit.fontawesome.com/628c8d2499.js" crossorigin="anonymous"></script> | |
<link rel="preconnect" href="https://fonts.gstatic.com"> | |
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet"> | |
<link rel="stylesheet" href="style.css" type="text/css" /> | |
<nav id="menu"> | |
<div class="menu-item"> | |
<div class="menu-text"> | |
<a href="#">Products</a> | |
</div> |
OlderNewer