๐ŸŒ
Pure
pure-css.github.io โ€บ forms
Forms - Pure
You can apply a pure-input-* class to these elements. <form class="pure-form"> <input class="pure-input-1" type="text" placeholder=".pure-input-1" /> <br /> <input class="pure-input-2-3" type="text" placeholder=".pure-input-2-3" /> <br /> <input class="pure-input-1-2" type="text" placeholder=".pure-input-1-2" /> <br /> <input class="pure-input-1-3" type="text" placeholder=".pure-input-1-3" /> <br /> <input class="pure-input-1-4" type="text" placeholder=".pure-input-1-4" /> <br /> </form>
๐ŸŒ
FreeFrontend
freefrontend.com โ€บ css-forms
109 Pure CSS Form Examples
3 weeks ago - See the Pen Neo-Brutalism Login Page using CSS. ... This demoโ€™s lively backdrop is created by injecting animated creatures into the formโ€™s ::before and ::after pseudo-elements using Base64 data:image URLs. This visual flair is complemented by polished, pure CSS micro-interactions - the email input elegantly expands its width on :focus, while the submit button provides a tactile 3D press effect by manipulating box-shadow and transform: translateY().
๐ŸŒ
Coderepublics
coderepublics.com โ€บ Purecss โ€บ Purecss-forms.php
Pure CSS Forms - CodeRepublics
July 9, 2021 - The Pure CSS form is a collection of labels and input elements together which allow the website to take information from the users for various operations, like for registration purposes.
๐ŸŒ
TutorialsPoint
tutorialspoint.com โ€บ purecss โ€บ purecss_forms.htm
Pure.CSS - Forms
<html> <head> <title>The PURE.CSS Forms</title> <meta name = "viewport" content = "width = device-width, initial-scale = 1"> <link rel = "stylesheet" href = "https://yui.yahooapis.com/pure/0.6.0/pure-min.css"> </head> <body> <form class = "pure-form pure-form-aligned"> <fieldset> <div class = "pure-control-group"> <label for = "name">Username</label> <input id = "name" type = "text" placeholder = "Username" required> </div> <div class = "pure-control-group"> <label for = "email">Email</label> <input id = "email" type = "text" placeholder = "Email Address" required> </div> <div class = "pure-co
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ css โ€บ pure-css-forms
Pure CSS Forms - GeeksforGeeks
February 23, 2021 - Wrap set of text-based input elements in a <fieldset> element with a "pure-group" class name to create such form. It requires that pure responsive grid to be present on your page.
๐ŸŒ
Purecss
purecss.io โ€บ forms
Pure
Pure builds on Normalize.css and provides layout and styling for native HTML elements, plus the most common UI components.
๐ŸŒ
GitHub
github.com โ€บ pure-css โ€บ pure โ€บ blob โ€บ main โ€บ src โ€บ forms โ€บ tests โ€บ manual โ€บ forms.html
pure/src/forms/tests/manual/forms.html at main ยท pure-css/pure
July 9, 2021 - A set of small, responsive CSS modules that you can use in every web project. - pure/src/forms/tests/manual/forms.html at main ยท pure-css/pure
Author ย  pure-css
๐ŸŒ
CodePen
codepen.io โ€บ medo_sayed โ€บ pen โ€บ LzKevy
Responsive Pure CSS Form
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
๐ŸŒ
Coderepublics
coderepublics.com โ€บ Purecss โ€บ Purecss-form-inputs.php
Pure CSS Form Inputs - CodeRepublics
January 31, 2022 - Rounded corners gives a premium feel to the form. You can make an input element's corners round by using the pure-input-rounded class in it. ... <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title> Pure.CSS Rounded Inputs </title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/pure-min.css"> </head> <body> <style> form{ margin: 20px; } </style> <body> <form class="pure-form"> <input type="text" class="pure-input-rounded"> <button type="submit" class="pure-button">Search</button> </form> </body> </html>
Find elsewhere
๐ŸŒ
Javatpoint
javatpoint.com โ€บ pure-css-form
Pure.CSS Form - javatpoint
August 4, 2025 - Pure.CSS Form with what is Pure.CSS, How to use Pure.CSS, Pure.CSS forms, grid, icons, buttons, inputs, tables, bordered table, aligned form, stacked form, stripped table, default table, dropdown, images, checkboxes, radio buttons, menus, responsive design etc.
๐ŸŒ
CodePen
codepen.io โ€บ ohansemmanuel โ€บ pen โ€บ mmNXNz
Pure CSS Forms
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
๐ŸŒ
CodePen
codepen.io โ€บ llabrie โ€บ pen โ€บ drevqR
Pure CSS MAterial design form
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
๐ŸŒ
TUTORIALS PAGE
tutorialspage.com โ€บ pure-css3-html-web-form-design
Pure CSS3 and HTML web form design โ€“ TUTORIALS PAGE
October 3, 2025 - This a CSS3 based web form design. It was used only CSS and HTML to rich the result. Thanks to advanced CSS properties, such as gradients and shadows, itโ€™s now quite easy to turn a basic web form iโ€ฆ
Top answer
1 of 1
1

While I think you'd be better off investigating flex or grid for this (both of which are pure CSS and are well supported now) I appreciate you have said you cannot use them.

One thing that is (even more) widely supported is inline-block.

The given code is simply structured, with the section having 7 parts, of which the first six are to have the same width as each other and the 7th having twice their width.

Using percentages we can divide up the width of the body (or container if one is to be used) to hold 3 such inline divs plus their left and right margins.

This snippet starts the process, but there are things that you will have to decide on further - like what the heights and paddings should be, putting more placeholders in the inputs, what exactly the drop down options should look like, formatting for the submit button, what you want it to do on narrow screens etc. (Note: view the snippet in full screen - then try reducing the width. There comes a point at which you will have to be more careful about allowing for border and padding widths.)

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box; 
}
body {
  background-color: #522464;
}
[class^="webform-component"] {
  display: inline-block;
  margin: 1.5%;
}
.webform-component {
  width: 30%;
}
.webform-component--resource-format {
  width: 60%;
}
label {
  color: white;
  background-color: #522464;
  font-variant: small-caps;
  display: block;
  padding-left: 1em;
}
input, select {
  border: 1px white solid;
  border-radius: 3vmin;
  background: #522464;
  width: 100%;
  height: 3em;
  color: rgba(255, 255, 255, 0.4);
}
<form method="post" name="Form1" action="" onSubmit="return validateForm();" onchange="showForm();" id="form3118" >
  

         <div class="webform-component first-name" >
            <label for="field0" >
              First Name*
            </label>
            <input id="field0" name="firstName" type="text" value="" placeholder="First name"/>
          </p>
        </div>

          <div class="webform-component last-name" >
            <label for="field1">
              Last Name*
            </label>
            <input id="field1" name="lastName" type="text" value="" />
          </p>
        </div>
    

        <div class="webform-component school" >      
            <label for="field2">
              School*
            </label>
            <input id="field2" name="schoolName" type="text" value="" />
        </div>

<div class="webform-component role" >    
            <label for="field3">
              Role*
            </label>
            <select id="field3" name="role">
              <option value="" selected="selected" >
                Please select
              </option>
              <option value="Principal" >
                Principal
              </option>
              <option value="Assistant/Vice Principal" >
                Assistant/Vice Principal
              </option>
              <option value="Curriculum Coordinator" >
                Curriculum Coordinator
              </option>
              <option value="eLearning Coordinator" >
                eLearning Coordinator
              </option>
              <option value="Head of Department" >
                Head of Department
              </option>
              <option value="Teacher" >
                Teacher
              </option>
              <option value="Other school staff member" >
                Other school staff member
              </option>
              <option value="None of the above" >
                None of the above
              </option>
            </select>  
</div>       

        <div class="webform-component  email-address" >          
            <label for="field5" >
              Email Address*
            </label>
            <input id="field5" name="emailAddress" type="text" value="" />
        </div> 


         <div class="webform-component  last-name" >
            <label for="field15">
              Mobile/Phone number*
            </label>
            <input id="field15" name="mobile" type="text" value="" />
          </p>
        </div>

         <div class="webform-component--resource-format" >
            <label for="field13" >
              In what format do you prescribe resources?
            </label>
            <select id="field13" name="resourceFormat" >
              <option value="" selected="selected" >
                Please select...
              </option>
              <option value="Digital only" >
                Digital only
              </option>
              <option value="Digital with some print" >
                Digital with some print
              </option>
              <option value="Equal digital and print" >
                Equal digital and print
              </option>
              <option value="Print with some digital" >
                Print with some digital
              </option>
              <option value="Print only" >
                Print only
              </option>
            </select>
          </div>

     

            <input type="submit" value="Submit"  />
          
  </form>

๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ css โ€บ pure-css-forms-complete-reference
Pure CSS Forms Complete Reference - GeeksforGeeks
June 10, 2022 - The Form in Pure CSS facilitates a variety of classes, along with implementing the basic CSS styling properties to make the HTML Form more attractive with a better user experience.
๐ŸŒ
Medium
medium.com โ€บ @developerr.ayush โ€บ enhance-your-form-validation-with-pure-css-no-javascript-needed-22ae8c4f5109
Enhance Your Form Validation with Pure CSS โ€” No JavaScript Needed! | by Ayush Shah | Medium
August 30, 2024 - In the form above, we have used the required attribute to ensure that fields are not left empty. The minLength attribute is used to enforce a minimum number of characters for the "Name" and "Password" fields. Additionally, you can use the pattern attribute for more complex validations. To style the valid and invalid states of the input fields, we can use the :valid and :invalid pseudo-classes in CSS.
๐ŸŒ
CSS Script
cssscript.com โ€บ home โ€บ categories โ€บ form โ€บ create nice clean form fields using pure css โ€“ formbase
Create Nice Clean Form Fields Using Pure CSS - formbase | CSS Script
February 13, 2020 - $formbase__prefix: ''; // Class name prefix $formbase__margin: .9rem; // Margin $formbase__padding: .6rem; // Padding $formbase__select_size: 12px; // Size of the select arrow $formbase__control_size: 20px; // Size of the checkbox and radio button (1) $formbase__radius: 0; // Input border radius $formbase__svg: #000; // Hex color for svgs (2) $formbase__color: #000; // Input and label color $formbase__placeholder: #999; // Input placeholder color $formbase__background: #fff; // Background color $formbase__border: #bbb; // Border color $formbase__active: #17f; // Active highlight color $formbas
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ css โ€บ pure-css-form-grouped-inputs
Pure CSS Form Grouped Inputs - GeeksforGeeks
July 14, 2022 - <!DOCTYPE html> <html> <head> <link rel="stylesheet" href= "https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity= "sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous"> </head> <body> <h1 class="is-size-2 has-text-success"> GeeksforGeeks </h1> <b class="is-size-4"> Pure CSS Grouped inputs form </b><br> <form class="pure-form pure-form-stacked"> <fieldset class="pure-group"> <input type="text" class="pure-input-1-2" placeholder="Enter first name" /> <input type="text" class="pure-input-1-2" placeholder="Enter middle name" /> <input type="text" class="pure-input-1-2" placeholder="Enter last name" /> </fieldset> <fieldset class="pure-group"> <input type="text" class="pure-input-1-2" placeholder="Enter Email" /> <input type="text" class="pure-input-1-2" placeholder="Enter Mobile no."