Jump to content

w3 css input element - How to set the height of a <input type="text">


Recommended Posts

Because i cant find out how to write it with the w3 css. Actualy i am used to write my own css script files, but trying to learn w3 css.
<input class='w3-input w3-border w3-light-grey w3-right' type='text' name='email'>

W3 has size classes (w3-tiny, w3-small, w3-medium, w3-large etc)

Alternatively you can override the W3 class

<input class='w3-input w3-border w3-light-grey w3-right' type="text" name="email" style='height: 25px;'> 

or in your css

    .w3-input {
        height: 25px;
    }

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • 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.