با شما در این روزهای سخت همراهیم (۴۰٪ تخفیف کمپین همدلی)
۰ ثانیه
۰ دقیقه
۰ ساعت
۱ امیر تقی زاده
این روش بنظرم بهتره تگ a بلاکی نباشه,فقط وقتی روی خوده a کلیک شد اینپوت را نمایش بده.
جامعه Html & CSS ایجاد شده در ۰۵ دی ۱۴۰۴
body {
  background-color: #efee;
  font-family: vazir;
  font-weight: 500;
}
.container {
  width: 600px;
  min-height: 200px;
  background-color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
  border-radius: 3px;
  padding: 15px;
  border: 1px solid rgb(70, 156, 253);
}
.container h6 {
  font-size: 16px;
  font-family: vazir;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.container form {
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.container form input {
  width: 100%;
  height: 35px;
  border: 1px solid #efefef;
  border-radius: 3px;
  transition: outline-color 0.4s ease;
  padding: 0 10px;
}
.container form input:focus {
  outline-color: rgb(70, 156, 253);
  border: none;
}
.container form label {
  font-size: 14px;
  display: block;
  margin-top: 10px;
  padding-bottom: 10px;
  margin-right: 5px;
}
.container input::placeholder {
  font-family: vazir;
  font-weight: 500;
  font-size: 14px;
}
.container form a {
  color: #000;
  margin: 20px 0;
  cursor: pointer;
}
.container form a i {
  margin-left: 2px;
  vertical-align: middle;
  color: rgb(70, 156, 253);
  transition: color 0.4s linear;
  &:hover {
    color: #000;
  }
}
.container form a {
  color: #000;
  margin: 20px 0;
  cursor: pointer;
  display: inline-block;
  width: fit-content;
}
امیر تقی زاده ۰۵ دی ۱۴۰۴، ۱۰:۵۴