January 5, 2023
Библиотека кнопок для Bizon365
- Эффект брызгов при наведении
- Минималистичные белые кнопочки
- Кнопки в стиле Instagram
- Кнопка с вертикальным бликом при наведении
- Выдвигающаяся анимированная кнопка
- Кнопка с появляющейся границей
🎓 Инструкция по установке оформления на вебинарную комнату (+видео)
1. Эффект брызгов при наведении
<style> .btndownload { font-family: "Helvetica", "Arial", sans-serif; display: inline-block; font-size: 1.5em; padding: 1em 2em; margin-top: 25px; -webkit-appearance: none; appearance: none; background-color: #ff0081; color: #fff; border-radius: 4px; border: none; cursor: pointer; position: relative; box-shadow ease-in 0.25s; box-shadow: 0 2px 25px rgba(255, 0, 130, 0.5); } .btndownload:hover{ background-color:#D3016B; } .btndownload:before, .btndownload:after { position: absolute; content: ""; display: block; width: 140%; height: 100%; left: -20%; z-index: -1000; transition: all ease-in-out 0.5s; background-repeat: no-repeat; } .btndownload:before { display: none; top: -75%; background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 20%, #ff0081 20%, transparent 30%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%); background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%; } .btndownload:after { display: none; bottom: -75%; background-image: radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, transparent 10%, #ff0081 15%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%), radial-gradient(circle, #ff0081 20%, transparent 20%); background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%; } .btndownload:hover.btndownload:before { display: block; animation: topBubbles ease-in-out 0.75s forwards; } .btndownload:hover.btndownload:after { display: block; animation: bottomBubbles ease-in-out 0.75s forwards; } @keyframes topBubbles { 0% { background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%; } 50% { background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%; } 100% { background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; } } @keyframes bottomBubbles { 0% { background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%; } 50% { background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%; } 100% { background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%; background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%; } } </style>
2. Минималистичные белые кнопочки
🔻🔻🔻
<style> .btn.btndownload, .btn.btndownload:link { text-transform: uppercase; text-decoration: none; padding: 15px 40px; display: inline-block; border-radius: 100px; transition: all .2s; background-color: #fff; color: #777; } .btn.btndownload:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); } </style>
3. Кнопки в стиле Instagram
🔻🔻🔻
<style> .btn.btndownload { text-decoration: none; color: #6b5770; background-image: linear-gradient(90deg, #fd7f34, #bd155b); display: inline-block; padding: 14px 30px; border: 1px solid; position: relative; z-index: 0; border-radius: 5px; box-sizing: border-box; margin: 0 15px 15px 0; outline: none; cursor: pointer; user-select: none; appearance: none; touch-action: manipulation; } .btn.btndownload:before{ content: ''; position: absolute; left: -2px; top: -2px; width: calc(100% + 4px); height: calc(100% + 4px); background: linear-gradient(90deg, #fd7f34, #bd155b); z-index: -2; transition: .4s; border-radius: 5px; } .btn.btndownload:after { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(90deg, #fff, #fff); z-index: -1; transition: .4s; border-radius: 4px; } .btn.btndownload:hover { color: #fff; transition: .3s; } .btn.btndownload:hover:after { background: linear-gradient(90deg, #fd7f34, #bd155b); } </style>
4. Кнопка с вертикальным бликом при наведении
🔻🔻🔻
<style> .btn.btndownload { height: 40px; color: #fff; border-radius: 5px; margin: 0 10px 0 0; padding: 10px 25px; font-family: 'Lato', sans-serif; font-weight: 500; background: transparent; cursor: pointer; transition: all 0.3s ease; position: relative; display: inline-block; box-shadow:inset 2px 2px 2px 0px rgba(255,255,255,.5), 7px 7px 20px 0px rgba(0,0,0,.1), 4px 4px 5px 0px rgba(0,0,0,.1); outline: none; } .btn.btndownload { background-color: #89d8d3; background-image: linear-gradient(315deg, #89d8d3 0%, #03c8a8 74%); border: none; z-index: 1; } .btn.btndownload:after { position: absolute; content: ""; width: 100%; height: 0; bottom: 0; left: 0; z-index: -1; border-radius: 5px; background-color: #4dccc6; background-image: linear-gradient(315deg, #4dccc6 0%, #96e4df 74%); box-shadow: -7px -7px 20px 0px #fff9, -4px -4px 5px 0px #fff9, 7px 7px 20px 0px #0002, 4px 4px 5px 0px #0001; transition: all 0.3s ease; } .btn.btndownload:hover { color: #fff; } .btn.btndownload:hover:after { top: 0; height: 100%; } .btn.btndownload:active { top: 2px; } </style>
5. Выдвигающаяся анимированная кнопка
🔻🔻🔻
<style> .btn.btndownload { border-radius: 10px; color: white; transition: .2s linear; background: #0B63F6; position: relative; top: 0; left: 0; margin: 0 10px 0 0; } .btn.btndownload:hover { box-shadow: 2px 2px white, 4px 4px #FC63B5; top: -4px; left: -4px; } </style>
6. Кнопка с появляющейся границей
🔻🔻🔻
<style> .btn.btndownload { border-radius: 10px; color: white; transition: .2s linear; background: #0B63F6; margin: 0 10px 0 0; } .btn.btndownload:hover { box-shadow: 0 0 0 2px white, 0 0 0 4px #3C82F8; } </style>
Инструкция по установке оформления на вебинарную комнату
1. Открываем ранее созданную комнату
2. Заходим в Настройки комнаты ⟶ Разное ⟶HTML ⟶Постоянный HTML/JS-код
3. Вставляем туда понравившийся код со стилями
Если что-то не понятно, я подготовил видео 🔻
Бесплатная консультация по техническим настройкам 👇
https://t.me/ma_andrey
Больше наших кейсов и гайдов👇
https://t.me/tech_cases