tab link class in html
CSS
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover
*/
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active
{
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
} <!-- Tab links -->
<div class="tab">
<button class="tablinks" onclick="openCity(event,
'London')">London</button>
<button class="tablinks" onclick="openCity(event,
'Paris')">Paris</button>
<button class="tablinks" onclick="openCity(event,
'Tokyo')">Tokyo</button>
</div>
<!-- Tab content -->
<div id="London" class="tabcontent">
<h3>London</h3>
<p>London is the capital city of England.</p>
</div>
<div
id="Paris" class="tabcontent">
<h3>Paris</h3>
<p>Paris
is the capital of France.</p>
</div>
<div id="Tokyo" class="tabcontent">
<h3>Tokyo</h3>
<p>Tokyo is the capital of Japan.</p>
</div>
Also in CSS:
- Title
- flexbox css
- Category
- CSS
- Title
- text shadow effect
- Category
- CSS
- Title
- how to add background in css
- Category
- CSS
- Title
- css input after not working
- Category
- CSS
- Title
- remove double quotes from string kotlin
- Category
- CSS
- Title
- how to change the page background in css
- Category
- CSS
- Title
- css important
- Category
- CSS
- Title
- no select css
- Category
- CSS
- Title
- css responsive
- Category
- CSS
- Title
- use css in cshtml
- Category
- CSS
- Title
- add font to css
- Category
- CSS
- Title
- css reset margin padding
- Category
- CSS
- Title
- css parent selector
- Category
- CSS
- Title
- css tekst bold
- Category
- CSS
- Title
- responsive text css
- Category
- CSS
- Title
- make td match display flex
- Category
- CSS
- Title
- adding shadow to a div
- Category
- CSS
- Title
- fonts from google fonts do not work
- Category
- CSS
- Title
- css onclick change color
- Category
- CSS
- Title
- forms html css
- Category
- CSS
- Title
- remove background when autofill input css
- Category
- CSS
- Title
- kerning css
- Category
- CSS
- Title
- media query min and max
- Category
- CSS
- Title
- css before after
- Category
- CSS
- Title
- css anchor fill parent
- Category
- CSS
- Title
- margin in css
- Category
- CSS
- Title
- how to change the background color in css
- Category
- CSS
- Title
- learn css animation
- Category
- CSS
- Title
- select even child css
- Category
- CSS
- Title
- how to only make a part bold in css
- Category
- CSS
- Title
- @media css
- Category
- CSS
- Title
- css internal style
- Category
- CSS
- Title
- kotlin string to int
- Category
- CSS
- Title
- how to use a blank space with grid template areas css
- Category
- CSS
- Title
- scss file architecture
- Category
- CSS
- Title
- kotlin iterate array
- Category
- CSS
- Title
- stop the client from scrolling
- Category
- CSS
- Title
- create dynamic navigation menu css
- Category
- CSS
- Title
- css vw scrollbar
- Category
- CSS
- Title
- css before is not working
- Category
- CSS
- Title
- css z index
- Category
- CSS
- Title
- background color css
- Category
- CSS
- Title
- css hide mark border
- Category
- CSS
- Title
- css border opacity
- Category
- CSS
- Title
- css border shorthand
- Category
- CSS
- Title
- css all caps
- Category
- CSS
- Title
- css selectors w3schools
- Category
- CSS
- Title
- because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
- Category
- CSS
- Title
- fontawesome cdn
- Category
- CSS
- Title
- sweet alert
- Category
- CSS
- Title
- white border css
- Category
- CSS
- Title
- css color gradient background full height
- Category
- CSS
- Title
- css perspective
- Category
- CSS
- Title
- anchor links scrolling too far
- Category
- CSS
- Title
- css custom properties
- Category
- CSS
- Title
- css text shadow not showing in mac chrome
- Category
- CSS
- Title
- bootsrap buttons
- Category
- CSS
- Title
- a active css
- Category
- CSS
- Title
- difference between class and id in html css
- Category
- CSS
- Title
- col-xs-12 col-sm-4 col-md-4 col-lg-4
- Category
- CSS
- Title
- comfirm before delete
- Category
- CSS
- Title
- skeleton loader css
- Category
- CSS
- Title
- html5 input required length
- Category
- CSS
- Title
- space width css
- Category
- CSS
- Title
- print media query css
- Category
- CSS
- Title
- radial gradient css
- Category
- CSS
- Title
- css blink animation
- Category
- CSS
- Title
- hide the default tooltip behaviour from safari
- Category
- CSS
- Title
- text border css
- Category
- CSS
- Title
- changong text color css
- Category
- CSS
- Title
- pseudo elements css
- Category
- CSS
- Title
- how to use visited hover active and visited in css
- Category
- CSS
- Title
- add css file in html
- Category
- CSS
- Title
- flow direction in css
- Category
- CSS
- Title
- make backround image not rapeat css
- Category
- CSS
- Title
- tzutc
- Category
- CSS
- Title
- how to call an id in css
- Category
- CSS
- Title
- force to load https
- Category
- CSS
- Title
- installer scss projet wordpress
- Category
- CSS
- Title
- how to stilize title property css
- Category
- CSS
- Title
- css grid align
- Category
- CSS
- Title
- stop padding from changing div size
- Category
- CSS
- Title
- background image size css
- Category
- CSS
- Title
- how to align an image left in css
- Category
- CSS
- Title
- typewriter effect css
- Category
- CSS
- Title
- move table css
- Category
- CSS
- Title
- Use Recursion to Create a Range of Numbers
- Category
- CSS
- Title
- hide scrollbar html css
- Category
- CSS
- Title
- how to change the size of something on hover in css
- Category
- CSS
- Title
- css background color
- Category
- CSS
- Title
- inline style css syntax
- Category
- CSS
- Title
- css browser prefixes
- Category
- CSS
- Title
- textarea placeholder
- Category
- CSS
- Title
- hr css mdn
- Category
- CSS
- Title
- material design css
- Category
- CSS
- Title
- width defined by content css
- Category
- CSS
- Title
- :root css
- Category
- CSS
- Title
- animate css cdn
- Category
- CSS
- Title
- equivalent zoom css
- Category
- CSS
- Title
- !important css
- Category
- CSS