abas.css

por Duda última modificação 06/10/2022 11h03

CSS stylesheet icon abas.css — CSS stylesheet, 1 KB (1328 bytes)

Conteúdo do arquivo

@charset "utf-8";
/* CSS Document */
@import url(https://fonts.googleapis.com/css?family=Titillium+Web);

*, *:after, *:before {
  box-sizing: border-box;
}
body{
	margin: 0;
	padding: 0;
	font-family: 'Titillium Web', sans-serif;
	line-height: 1.5;
	color: #666;
	font-size: 16px;
}
p{
  padding: 0 10px;
}

.tabs-container {
  position: relative;
  height: 360px;
  max-width: 98%;
  margin: 0 auto;
}
.tabs-container p{
  margin: 0;
  padding: 0;
}
.tabs-container:after {
  content: '.';
  display: block;
  clear: both;
  height: 0;
  font-size: 0;
  line-height: 0;
  visibility: none;
}
input.tabs {
  display: none;
}
input.tabs + label {
	line-height: 40px;
	padding: 0 20px;
	float: left;
	background: #eee;
	color: #999;
	cursor: pointer;
	transition: background ease-in-out .3s;
}
input.tabs:checked + label {
  color: #000;
  background: #666; /* #eee*/
}
input.tabs + label + div {
  width: 98%;
  opacity: 50;
  position: absolute;
  background: #eee;
  border: solid;
  border-color: #666;
  top: 40px;
  left: 0;
  height: 400px; /* altura do quadro  */
  overflow-y: scroll; /* barras verticais */
  padding: 10px;
  z-index: -1;
  transition: opacity ease-in-out .3s;
}
input.tabs:checked + label + div {
  opacity: 1;
  z-index: 1000;
}