Ver mais / Ver menos
<JavaScript>
Classes e onde por
Instruções
Classes CSS
No botao Ver Mais:
ver-mais
No botão Ver menos:
ver-menos oculto
No conteiner onde estão as informações:
detalhes oculto
No conteiner principal:
cartao-perfil
Barra de carregamento que muda ao completar
<HTML>
<CSS>
ISSO PODE LEVAR ATÉ 3 MINUTOS:
.progress1 {
height: 22px;
background-color: #ffffff;
position: relative;
overflow: hidden;
}
.progress1 .progress-bar1 {
position: relative;
height: 100%;
background-color: red;
animation: progress-animation1 5s forwards;
}
.progress1 .progress-bar1 .icon1 {
position: absolute;
top: -0px;
right: 0;
left: 0;
width: 22px;
padding-right: 10px;
padding-left: 10px;
margin-left: 3px;
height: 25px;
background-image: url('https://media.tenor.com/On7kvXhzml4AAAAj/loading-gif.gif');
background-size: contain;
background-repeat: no-repeat;
animation: icon-animation1 0s forwards;
overflow: hidden;
z-index: 1;
}
.progress1 .progress-bar1.finished {
background-color: #48B000;
background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);
background-size: 22px 22px; /* altere o valor de acordo com a altura do elemento */
animation: 1s linear infinite progress-bar-stripes;
}
@keyframes progress-bar-stripes {
from {
background-position: 1rem 0;
}
to {
background-position: 0 0;
}
}
.progress1 .countdown {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 12px;
color: #ffffff;
font-family: poppins;
font-weight: bold;
white-space: nowrap;
text-align: center;
font-size: 15px;
}
.progress1 .message {
position: absolute;
top: -50px;
left: 0;
right: 0;
text-align: center;
font-family: poppins, sans-serif;
font-weight: bold;
font-size: 18px;
}
@keyframes progress-animation1 {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
@media screen and (max-width: 767px) {
.progress1 .progress-bar1 {
animation: progress-animation-mobile 5s forwards;
}
}
@keyframes progress-animation-mobile {
0% {
width: 0%;
}
100% {
width: 95.2%;
}
}
@keyframes icon-animation1 {
0% {
left: 0%;
}
100% {
left: 100%;
}
}
Barra lateral de rolagem
<HTML>
body, html {
overflow-x: hidden !important;
}
body::-webkit-scrollbar {
width: 10px; /* Tamanho da barra */
background-color: #333333; /* Cor do fundo */
}
body::-webkit-scrollbar-thumb {
border-radius: 10px; /* borda arredondada */
background: linear-gradient(to bottom,
rgba(23,132,180,1) 10%, rgba(102,35,139,1) 50%,
rgba(204,1,155,1) 80%); /* cor em degrade */
}
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Role a barra
Texto destacado
Caixa de Texto
<CSS>
Esse é o seu texto
TEXTO DESTACADO.
.destaque {
background: linear-gradient(100deg, #db204f, #834AFF);
background-size: 200% 900%;
animation: AnimationName 5s ease infinite;
transform: scale(1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
@keyframes AnimationName {
0%{background-position:0% 91%}
50%{background-position:100% 10%}
100%{background-position:0% 91%}
}
Hover Seletivo
<HTML>
<CSS>
.image-container img {
transition: transform 0.3s, op acity 0.3s;
opacity: 1;
}
.image-container img:hover {
transform: scale(1.1);
opacity: 1;
}
.image-container:hover img:not(:hover) {
opacity: 0.3;
}
Classe CSS
image-container
Loading de alguns segundos antes de redirecionar para o forms
Me segue lá no Insta xD
<HTML>
<CSS>
Me segue lá no Insta xD
selector .elementor-button {
border-top-left-radius: 20px 100% !important;
border-bottom-left-radius: 20px 100% !important;
border-top-right-radius: 20px 100% !important;
border-bottom-right-radius: 20px 100% !important;
box-shadow: inset 0px 0px 5px 5px #ff0000, 0px 5px 5px 0px #980000 !important;
width: 100%;
position: relative;
background: #ff0000 !important;
box-shadow: inset 0px 0px 4px 2px #980000, 0 0 30px 5px rgba(255, 0, 0, 0.815) !important;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
border-radius: 5px;
border: none !important;
overflow: hidden;
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
padding: 10px;
}
selector .elementor-button:hover {
background: #ff0000 !important;
border: none;
box-shadow: inset 0px 0px 5px 5px #980000, 0 0 30px 5px rgba(255, 0, 0, 0.815) !important;
-webkit-transition: all 0.2s ease-out;
-moz-transition: all 0.2s ease-out;
transform: scale(1.03);
transition: all 0.2s ease-out;
}
selector .elementor-button:hover::before {
-webkit-animation: sh02 0.5s 0s linear;
-moz-animation: sh02 0.5s 0s linear;
animation: sh02 0.7s 0s linear;
}
selector .elementor-button::before {
content: '';
display: block;
width: 0px;
height: 86%;
position: absolute;
top: 7%;
left: 0%;
opacity: 0;
background: #fff;
box-shadow: 0 0 50px 30px #fff;
-webkit-transform: skewX(-20deg);
-moz-transform: skewX(-20deg);
-ms-transform: skewX(-20deg);
-o-transform: skewX(-20deg);
transform: skewX(-20deg);
}
@keyframes sh02 {
from {
opacity: 0;
left: 0%;
}
50% {
opacity: 1;
}
to {
opacity: 0;
left: 100%;
}
}
selector .elementor-button:active {
box-shadow: inset 0px 0px 5px 5px #980000, 0 0 0 0 transparent !important;
-webkit-transition: box-shadow 0.2s ease-in;
-moz-transition: box-shadow 0.2s ease-in;
transition: box-shadow 0.2s ease-in;
transform: translate(0, 0.2em);
}
Botão Tech – Estilo MSI
<HTML>
<CSS>
/*para desktop ----------------------------------------------------------*/
@media (min-width: 1024px){
.botao-tech1 {
display: inline-flex;
position: relative;
text-align: center;
font-size: 22px;
text-transform: uppercase;
color: #fff;
text-decoration: none;
padding: 20px 40px 25px 70px;
align-items: center;
font-family: share tech mono;
transition: color 0.3s ease; /* transição suave */
font-weight: bld;
filter: hue-rotate(70deg) saturate(100%);
transition: filter 0.3s ease;
}
.botao-tech1:hover {
color: #fff;
text-decoration: none;
font-weight: bold;
filter: hue-rotate(90deg) saturate(200%);
transition: filter 0.3s ease;
}
.botao-tech1.btn-small {
font-size: 14px;
padding: 10px 20px;
/* Código por Luan Montenegro. Inspirado em RSI
contato Whatsapp: 73 98229-7961
website: luanmontenegro.com
behance: https://www.behance.net/luanmontenegro*/
}
.botao-tech1.btn-large {
font-size: 24px;
padding: 30px 60px;
}
.botao-tech1 .hexagon-front {
position: absolute;
top: 02px;
left: 03px;
width: calc(100% - 13px);
height: calc(100% - 12px);
z-index: 2;
border: 1px solid transparent;
border-image-source: url('https://luanmontenegro.com/wp-content/uploads/2023/06/Botao-Front-1.svg');
border-image-slice: 20 20 fill;
border-image-width: 100px;
transform: translateX(0) translateY(0);
transition: all 0.3s ease;
}
.botao-tech1:hover .hexagon-front {
transform: translateX(20px) translateY(-0px);
transition-delay: 0.2s;
}
.botao-tech1 .hexagon-back {
position: absolute;
top: 0;
left: 0;
width: calc(100% + 34px);
height: calc(100% + 34px);
z-index: 1;
border: 1px solid transparent;
border-image-source: url('https://luanmontenegro.com/wp-content/uploads/2023/06/Botao-Back-1.svg');
border-image-slice: 39 39 fill;
border-image-width: 100px;
transform: translateX(5px) translateY(5px);
transition: all 0.3s ease;
}
.botao-tech1:hover .hexagon-back {
transform: translateX(0) translateY(-20px);
}
.botao-tech1 span {
position: relative;
z-index: 3;
}
}
/*para mobile ----------------------------------------------------------*/
@media (max-width: 767px){
.botao-tech1 {
display: inline-flex;
position: relative;
text-align: center;
font-size: 22px;
text-transform: uppercase;
color: #fff;
text-decoration: none;
padding: 20px 40px 25px 70px;
align-items: center;
font-family: share tech mono;
transition: color 0.3s ease; /* transição suave */
font-weight: bld;
filter: hue-rotate(70deg) saturate(100%);
transition: filter 0.3s ease;
}
.botao-tech1:hover {
color: #fff;
text-decoration: none;
font-weight: bold;
filter: hue-rotate(90deg) saturate(200%);
transition: filter 0.3s ease;
}
.botao-tech1.btn-small {
font-size: 14px;
padding: 10px 20px;
/* Código por Luan Montenegro. Inspirado em RSI
contato Whatsapp: 73 98229-7961
website: luanmontenegro.com
behance: https://www.behance.net/luanmontenegro*/
}
.botao-tech1.btn-large {
font-size: 24px;
padding: 30px 60px;
}
.botao-tech1 .hexagon-front {
position: absolute;
top: 02px;
left: 03px;
width: calc(100% - 13px);
height: calc(100% - 12px);
z-index: 2;
border: 1px solid transparent;
border-image-source: url('https://luanmontenegro.com/wp-content/uploads/2023/06/Botao-Front-1.svg');
border-image-slice: 20 20 fill;
border-image-width: 100px;
transition: all 0s ease;
}
.botao-tech1:hover .hexagon-front {
transform: translateX(20px) translateY(-0px);
transition-delay: 0s;
}
.botao-tech1 .hexagon-back {
position: absolute;
top: 0;
left: 0;
width: calc(100% + 34px);
height: calc(100% + 34px);
z-index: 1;
border: 1px solid transparent;
border-image-source: url('https://luanmontenegro.com/wp-content/uploads/2023/06/Botao-Back-1.svg');
border-image-slice: 39 39 fill;
border-image-width: 100px;
}
.botao-tech1:hover .hexagon-back {
transform: translateX(0) translateY(-20px);
}
.botao-tech1 span {
position: relative;
z-index: 3;
}
}
/*para tablet ----------------------------------------------------------*/
@media (min-width: 760px) and (max-width: 1023px){
.botao-tech1 {
display: inline-flex;
position: relative;
text-align: center;
font-size: 22px;
text-transform: uppercase;
color: #fff;
text-decoration: none;
padding: 20px 40px 25px 60px;
align-items: center;
font-family: share tech mono;
transition: color 0.3s ease; /* transição suave */
font-weight: bld;
filter: hue-rotate(70deg) saturate(100%);
transition: filter 0.3s ease;
}
.botao-tech1:hover {
color: #fff;
text-decoration: none;
font-weight: bold;
filter: hue-rotate(90deg) saturate(200%);
transition: filter 0.3s ease;
}
.botao-tech1.btn-small {
font-size: 14px;
padding: 10px 20px;
/* Código por Luan Montenegro. Inspirado em RSI
contato Whatsapp: 73 98229-7961
website: luanmontenegro.com
behance: https://www.behance.net/luanmontenegro*/
}
.botao-tech.btn-large {
font-size: 24px;
padding: 30px 60px;
}
.botao-tech1 .hexagon-front {
position: absolute;
top: 02px;
left: 03px;
width: calc(100% - 13px);
height: calc(100% - 12px);
z-index: 2;
border: 1px solid transparent;
border-image-source: url('https://luanmontenegro.com/wp-content/uploads/2023/06/Botao-Front-1.svg');
border-image-slice: 20 20 fill;
border-image-width: 100px;
transform: translateX(0) translateY(0);
transition: all 0.3s ease;
}
.botao-tech1:hover .hexagon-front {
transform: translateX(20px) translateY(-0px);
transition-delay: 0.2s;
}
.botao-tech1 .hexagon-back {
position: absolute;
top: 0;
left: 0;
width: calc(100% + 34px);
height: calc(100% + 34px);
z-index: 1;
border: 1px solid transparent;
border-image-source: url('https://luanmontenegro.com/wp-content/uploads/2023/06/Botao-Back-1.svg');
border-image-slice: 39 39 fill;
border-image-width: 100px;
transform: translateX(5px) translateY(5px);
transition: all 0.3s ease;
}
.botao-tech1:hover .hexagon-back {
transform: translateX(0) translateY(-20px);
}
.botao-tech1 span {
position: relative;
z-index: 3;
}
}
<HTML> CPF
<CSS> CPF
Digite um CPF válido
#cpf-error {
display: none;
top: -80px;
left: 30px; /* Ajustar conforme necessário */
color: red;
background-color: white;
border-radius: 5px;
border: 1px solid red;
padding: 5px;
position: absolute;
z-index: 1000;
width: 170px;
margin-top: 5px; /* Espaçamento entre o campo e o balão de erro */
}
#cpf-error::before {
content: '';
position: absolute;
top: -10px;
left: 20px; /* Ajustar conforme necessário */
border-width: 5px;
border-style: solid;
border-color: transparent transparent red transparent;
}
.elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-100.e-form__buttons button:disabled {
opacity: 0.3;
filter: saturate(0.7);
cursor: not-allowed;
}
<HTML> Celular
<CSS> Celular
Digite um celular válido
#celular-error {
display: none;
top: -80px;
left: 30px; /* Ajustar conforme necessário */
color: red;
background-color: white;
border-radius: 5px;
border: 1px solid red;
padding: 5px;
position: absolute;
z-index: 1000;
width: 170px;
margin-top: 5px; /* Espaçamento entre o campo e o balão de erro */
}
#celular-error::before {
content: '';
position: absolute;
top: -10px;
left: 20px; /* Ajustar conforme necessário */
border-width: 5px;
border-style: solid;
border-color: transparent transparent red transparent;
}
.elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-100.e-form__buttons button:disabled {
opacity: 0.3;
filter: saturate(0.7);
cursor: not-allowed;
}
<HTML> E-mail
<CSS> E-mail
Digite um email válido
#email-error {
display: none;
top: -80px;
left: 30px; /* Ajustar conforme necessário */
color: red;
background-color: white;
border-radius: 5px;
border: 1px solid red;
padding: 5px;
position: absolute;
z-index: 1000;
width: 170px;
margin-top: 5px; /* Espaçamento entre o campo e o balão de erro */
}
#email-error::before {
content: '';
position: absolute;
top: -10px;
left: 20px; /* Ajustar conforme necessário */
border-width: 5px;
border-style: solid;
border-color: transparent transparent red transparent;
}
.elementor-field-group.elementor-column.elementor-field-type-submit.elementor-col-100.e-form__buttons button:disabled {
opacity: 0.3;
filter: saturate(0.7);
cursor: not-allowed;
}
CÓDIGO ROLETA
CÓDIGO MÚSICA
<
Reproduzir música ao clicar em um botão
>
CÓDIGO ALTERAR CURSOR
html{
cursor:url(' '), auto;
}
html.click, html.click a, html.click a:hover, a:hover{
cursor:url(' '), auto;
}
selector{
max-height: 80px; /*mude para a altura desejada que vai aparecer antes do hover*/
transition: 0.5s; /*defina o tempo de transição para aparecer o conteúdo. aumente a medida que voce cresce o texto para ficar mais fluido*/
overflow: hidden;
}
selector:hover{
max-height: 1000px; /*defina a altura máxima ao passar o mouse*/
}
selector::after{
content:"";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, transparent, #170b21 /*defina a cor do fade (de preferencia a cor do fundo que voce esteja usando*/); )
transition: 0.5s; /*defina o tempo de transição para esconder o conteúdo. */
}
selector:hover::after{
opacity: 0; /*remove a cor do fade ao sair do hover*/
}
Esse conteúdo te ajudou de alguma forma?
Então já me segue em meu instagram e se inscreva no meu canal no Youtube para não perder nenhuma dica!
Todos os links na BIO.