JSFiddle - React, Tailwind, and code Playground
by Sergey khorev
HTML
<div class="input__wrapper">
<label for="product" class="label small__text darkgrey__text">Описание вашего продукта для поставки</label>
<textarea type="text" id="product" class="input medium__text textarea__modal" placeholder=""></textarea>
</div>
CSS
.header-wrapper {
display: flex;
align-items: center;
justify-content: space-between;
}
.subtitle {
margin-right: 10px;
}
h1 {
margin: 0;
line-height: normal;
}
h2 {
display: block;
font-size: 1.5em;
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
unicode-bidi: isolate;
}
.promo__feedback_block {
height: 400px;
}
.input_promo {
padding: 10px 24px 0 24px;
border-radius: 32px;
border: none;
height: 52px;
border: 1px solid var(--color-grey);
outline: none;
width: 100%;
}
.tab__item {
max-width: 648px;
padding: 32px;
display: flex;
flex-direction: column;
background-color: var(--color-grey);
border-radius: 32px;
min-height: 265px;
}
.bxmaker-authuserphone-enter-reg__title {
font-size: 24px;
padding: 14px;
text-align: center;
font-family: var(--font-montserrat);
}
.promo_img__wrapper {
width: 414px;
height: 300px;
margin-top: -1px;
overflow: hidden;
position: relative;
z-index: -1;
border-radius: 32px 32px 0px 0px;
}
.input {
padding: 10px 24px 0 24px;
border-radius: 32px;
background-color: var(--color-white);
border: none;
height: 52px;
border: 1px solid var(--color-grey);
outline: none;
width: 100%;
}
input-code:hover .bxmaker-authuserphone-input-code__field {
border-color: #40b93c;
}
.accordion {
padding-top: 20px;
}
.invert_img{filter:invert(1)}
/* Плавная прокрутка до якоря */
html {
scroll-behavior: smooth;
}
/* Работа с алертом */
.notification__wrapper {
border-radius: 32px;
padding: 32px;
background-color: var(--color-grey);
box-shadow: var(--box-shadow);
position: fixed;
bottom: 30px;
right: calc((100vw - 1322px) / 2);
max-width: 350px;
opacity: 0;
visibility: hidden;
pointer-events: none;
z-index: 10;
...