@aibatape

Как поставить ширину сайта?

Хочу указать ширину для сайта как в Figma но не знаю как60f0883bf3e8f643039337.png60f0883ed6313031026481.png
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
}


.header {
  padding: 82px;
  background-color: #000;
  display: flex;
  justify-content: space-between;
}

.wrapper {
  min-width: 200px;
  padding: 30px 158px;
}

nav {
  display: flex;
  justify-content: center;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  margin-left: 40px;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 1);
  transition-duration: 0.4s;
}

.active {
  color: rgba(255, 255, 255, 1);
}

.personal-product {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
}

.personal-product-descr {
  line-height: 30px;
  width: 340.42px;
  height: 317.63px;
  font-style: normal;
  font-weight: bold;
  font-size: 25px;
  color: #000000;
}

.who-we-are-button {
  margin-top: 20px;
  border: 2px solid #000000;
  background-color: transparent;
  cursor: pointer;
  font-size: 10px;
  border-radius: 30px;
  height: 39px;
  width: 110px;
  transition-duration: 0.3s;
  outline: none;
}

.who-we-are-button:hover {
  background-color: #000000;
  color: #ffffff;
}

.personal-product-button-red {
  border: 2px solid #000000;
  background-color: transparent;
  cursor: pointer;
  font-size: 10px;
  border-radius: 30px;
  height: 38px;
  width: 100px;
  transition-duration: 0.3s;
  outline: none;
}

.personal-product-button-red:hover {
  border: 2px solid #d32020;
  background-color: #d32020;
  color: #ffffff;
  outline: none;
}

.illustration1 {
  width: 676px;
}
  • Вопрос задан
  • 142 просмотра
Пригласить эксперта
Ответы на вопрос 1
@Vladislav-gif666
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы