Jump to content
  • 0

Adaptation of the subscription form


Lesia
 Share

Question

Hello!  Could you help me figure out how to adapt?

.subscribe-form{
    display: flex;
    justify-content: end;
    width: 100%;
    height: 90px;
    margin-top: 46px;
    border: none;
}

input[type="email"]{
    background: #fcc302;
    color: #ffffff;
    padding: 17px 25px 17px 36px;
    font-size: 25px;
    font-weight: 300;
}

.section-button{
    background-color: #00bec9;
    padding: 27px 37px 27px 39px;
    height: 90px;
    border: none;
    cursor: pointer;
}

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
42 minutes ago, klierik said:

Hello. Can you provide more information about your issue.

Нужно для мобильных екранов растянуть форму во всю ширину. 

Проблема в том, что когда задаю размер(max-width) он не работает, а  при  width:100% форма сужается до маленького размера. 

Link to comment
Share on other sites

  • 0
6 минут назад, Lesia сказал:

Нужно для мобильных екранов растянуть форму во всю ширину. 

Выложите пример на http://jsfiddle.net, подавшему коду невозможно идентифицировать проблему. Возможно контейнер формы влияет на её размер

Link to comment
Share on other sites

  • 0
41 minutes ago, klierik said:

Выложите пример на http://jsfiddle.net, подавшему коду невозможно идентифицировать проблему. Возможно контейнер формы влияет на её размер

https://jsfiddle.net/Lesichka/uLhg6faq/10/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy