Pure css tabs sliding using html and css

pure css tabs

Coding BD given Pure sliding tabs using html and css. You can Build pure css tabs. It is the most important part Of pure css tabs with slide indicator. 

Here you learn how to create tabs using only html and css. We have given more importance to css animation effects. You can Learn tabs with indicators in html css. They were an important part of tabs navigation using only html css,  because they needed to be Html5 Css3 Tips and Tricks. I hope You enjoy this video. If you enjoy our video please like, share & subscribe to our channel. Thank you so much. 

First, I highly recommend you to watch the video and then look for the code and try to do it by yourself. And use the code for reference.

Create a Payoneer Account & Earn 25$:
Create a Fiverr Account & Earn 100$:

😍😍 If You like this video Please like, share and subscribe This video.😍😍

😍😍 Check Others Programming Video👇

➡️ Make Sign In Form Design:

➡️ contact page design with map using html css:

➡️ css image hover animation effects | pure css hover animation: 

➡️ how to create css gradient box shadow: 

➡️ Sticky Navigation Bar On Scroll Using Vanilla Javascript:–XgO8

➡️ How to Download Source code in Coding BD:  

➡️Responsive website html css javascript | part( 1 ):

➡️ Responsive Services Section: 

➡️ Plane animation only html css: 

➡️ CSS Responsive CARD Hover Effects & Adding Stroke to Text | Html5 CSS3 2021: 

➡️  Neon Light Button Animation Effects on Hover | CSS Snake Border: 

➡️ Responsive Box Model Web Design Using CSS Flexbox: 

➡️ Digital Clock with Animated Progress-bar | HTML CSS & Vanilla Javascript: 

Here is all Source code ( pure css tabs ). You can follow this steps:

  1. Create 1 folder
  2. create 1 HTML file: index.html
  3. create 1 CSS file: style.css
  4. See Full video and write HTML code and copy CSS code and past CSS file
  5. Now give a smile and jump out loud. 😍😍
<!DOCTYPE html>
<html lang="en">

    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Sliding Tabs</title>
    <link rel="stylesheet" href="style.css">

    <div class="container">
        <div class="tabs">
            <input type="radio" name="tabs" id="radio-1" checked>
            <label for="radio-1" class="tab">Message <span class="notification">5</span></label>

            <input type="radio" name="tabs" id="radio-2">
            <label for="radio-2" class="tab">Development</label>

            <input type="radio" name="tabs" id="radio-3">
            <label for="radio-3" class="tab">Completed</label>
            <span class="glider"></span>

@import url("[email protected];500;600&display=swap");
:root {
  --primary-color: #185ee0;
  --secondary-color: #e6eef9;
/* 185ee026 */
*:before {
  box-sizing: border-box;

body {
  font-family: "Inter", sans-serif;
  background-color: rgba(230, 238, 249, 0.5);

.container {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;

.tabs {
  display: flex;
  position: relative;
  background-color: #fff;
  box-shadow: 0 0 1px 0 #185ee026, 0 6px 12px 0 #185ee026;
  padding: 0.75rem;
  border-radius: 99px;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -ms-border-radius: 99px;
  -o-border-radius: 99px;

.tabs * {
  z-index: 2;

input[type="radio"] {
  display: none;

.tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  width: 200px;
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 99px;
  cursor: pointer;
  transition: color 0.15s ease-in;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -ms-border-radius: 99px;
  -o-border-radius: 99px;
  -webkit-transition: color 0.15s ease-in;
  -moz-transition: color 0.15s ease-in;
  -ms-transition: color 0.15s ease-in;
  -o-transition: color 0.15s ease-in;

.notification {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2rem;
  height: 2rem;
  margin-left: 0.75rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  transition: 0.15s ease-in;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -webkit-transition: 0.15s ease-in;
  -moz-transition: 0.15s ease-in;
  -ms-transition: 0.15s ease-in;
  -o-transition: 0.15s ease-in;

input[type="radio"]:checked + label {
  color: var(--primary-color);

input[type="radio"]:checked + label > .notification {
  background-color: var(--primary-color);
  color: #fff;

input[id="radio-1"]:checked ~ .glider {
  transform: translateX(0);
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);

input[id="radio-2"]:checked ~ .glider {
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);

input[id="radio-3"]:checked ~ .glider {
  transform: translateX(200%);
  -webkit-transform: translateX(200%);
  -moz-transform: translateX(200%);
  -ms-transform: translateX(200%);
  -o-transform: translateX(200%);

.glider {
  position: absolute;
  display: flex;
  height: 54px;
  width: 200px;
  background: var(--secondary-color);
  z-index: 1;
  border-radius: 99px;
  transition: 0.25s ease-out;
  -webkit-border-radius: 99px;
  -moz-border-radius: 99px;
  -ms-border-radius: 99px;
  -o-border-radius: 99px;
  -webkit-transition: 0.25s ease-out;
  -moz-transition: 0.25s ease-out;
  -ms-transition: 0.25s ease-out;
  -o-transition: 0.25s ease-out;

@media (max-width: 700px) {
  .tabs {
    transform: scale(0.6);
    -webkit-transform: scale(0.6);
    -moz-transform: scale(0.6);
    -ms-transform: scale(0.6);
    -o-transform: scale(0.6);

Don’t Forget to Follow me on all Social Network


Facebook Page:



You can see How to create Magic Card using html and CSS

Leave a Reply

Your email address will not be published.