@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');



li {
	list-style: none;
}

:root {
	--white: #FFF;
	--blue: #562BF7;
	--light: #F5F5F5;
	--light-blue: #F3F0FF;
	--grey: #eee;
	--dark-grey: #666;
	--black: #222;
}

.container-tab {
	width: 100%;
	background: var(--white);
	border-radius: 10px;
	padding: 1rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
	margin: 50px 0px 50px 0px;
	min-height: 100px;
}
.wrapper {
	display: flex;
}
.indicator {
	padding: 1.5rem 0;
	border-right: 1px solid var(--grey);
}
.indicator li {
	display: flex;
	align-items: center;
	grid-gap: .5rem;
	padding: 15px 3rem;
	cursor: pointer;
	font-size: .875rem;
	color: var(--black);
	border-right: 3px solid transparent;
}
.indicator li i {
	font-size: 1rem;
}
.indicator li:hover {
	background: var(--light-blue);
}
.indicator li.active {
	border-right-color: var(--blue);
	color: var(--blue);
	background: var(--light-blue);
}
.content-tab {
	width: 100%;
	padding: 1.5rem 2rem;
	min-height: 100px;
}
.content-tab li {
	display: none;
}
.content-tab li.active {
	display: block;
}
.content-tab li h1 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--black);
	margin-bottom: .75rem;
}
.content-tab li p {
	margin-bottom: .5rem;
	color: var(--dark-grey);
	font-size: .875rem;
}

@media screen and (max-width: 576px) {
	.wrapper {
		flex-direction: column;
	}
	.indicator {
		border-right: none;
	}
}











HTML CSSResult Skip Results Iframe
EDIT ON
/* ------------------- */
/* TEMPLATE        -- */
/* ----------------- */

@import url(https://fonts.googleapis.com/css?family=Lato:400,700,900,300);


h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 18px; }
p { margin: 0 0 15px; line-height: 24px; color: gainsboro; display: block; height: auto;}
a { color: dodgerblue; text-decoration: none; }
a:hover { color: tomato; }


.tabs
{
	position: relative;
	display: flex;
	min-height: 600px;
	border-radius: 8px 8px 0 0;
	overflow: hidden;
}

.tabby-tab {
	height: auto;
  flex: 1;
}

.tabby-tab label
{
	display: block;
	box-sizing: border-box;
	height: 40px;
	padding: 5px;
	background: red;
	text-align: center;
	background: var(--white);
	cursor: pointer;
	transition: background 0.5s ease;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

.tabby-tab label:hover {
  background: #7B52AB;
}

.tabby-content {
  position: absolute;
  overflow:scroll;
  left: 0; bottom: 0; right: 0;
  /* clear the tab labels */
    top: 40px; 
  
  padding: 20px;
  border-radius: 10px;
	background: var(--white);
  transition: 
    opacity 0.8s ease,
    transform 0.8s ease;
	display: block;
  
  /* show/hide */
    opacity: 0;
    transform: scale(0.1);
    transform-origin: top left;
	height: 100%;
  
}
.active
{
	border-radius: 0px 0px 10px 10px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

/* MAKE IT WORK ----- */

.tabby-tab [type=radio] { display: none; }
[type=radio]:checked ~ label {
	background: var(--light-blue);
  z-index: 2;
}

[type=radio]:checked ~ label ~ .tabby-content {
  z-index: 1;
  
  /* show/hide */
    opacity: 1;
    transform: scale(1);
}

/* BREAKPOINTS ----- */
@media screen and (max-width: 767px) {
  .tabs { min-height: 400px;}
}

@media screen and (max-width: 480px) {
  .tabs { min-height: 580px; }
  .tabby-tab label { 
    height: 60px;
  }
  .tabby-content { top: 60px; }
  .tabby-content img {
    float: none;
    margin-right: 0;
    margin-bottom: 20px;
  }
}