পৃষ্ঠাসমূহ

Search Your Article

CS

 

Welcome to GoogleDG – your one-stop destination for free learning resources, guides, and digital tools.

At GoogleDG, we believe that knowledge should be accessible to everyone. Our mission is to provide readers with valuable ebooks, tutorials, and tech-related content that makes learning easier, faster, and more enjoyable.

What We Offer:

  • 📘 Free & Helpful Ebooks – covering education, technology, self-development, and more.

  • 💻 Step-by-Step Tutorials – practical guides on digital tools, apps, and software.

  • 🌐 Tech Updates & Tips – simplified information to keep you informed in the fast-changing digital world.

  • 🎯 Learning Support – resources designed to support students, professionals, and lifelong learners.

    Latest world News 

     

Our Vision

To create a digital knowledge hub where anyone, from beginners to advanced learners, can find trustworthy resources and grow their skills.

Why Choose Us?

✔ Simple explanations of complex topics
✔ 100% free access to resources
✔ Regularly updated content
✔ A community that values knowledge sharing

We are continuously working to expand our content library and provide readers with the most useful and relevant digital learning materials.

📩 If you’d like to connect, share feedback, or suggest topics, feel free to reach us through the Contact page.

Pageviews

Saturday, March 11, 2017

Pure.CSS Forms

PURE.CSS has a very beautiful and responsive CSS for form designing. The following CSS are used:
S.N.Class Name & Description
1pure-form
Represents a compact inline form.
2pure-form-stacked
Represents a stacked form with input elements below the labels. To be used with pure-form.
3pure-form-aligned
Represents an aligned form with input elements below the labels. To be used with pure-form.
4pure-input-rounded
Displays a form control with rounded corners
5pure-button
Beautifies a button.
6pure-checkbox
Beautifies a checkbox.
7pure-radio
Beautifies a radio.

Example

purecss_forms.htm
<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-control-group">      
               <label for="comments">Comments</label>
               <input id="comments" type="text" placeholder="Comments">       
            </div>
            <div class="pure-controls">
               <label  for="married" class="pure-checkbox">
                  <input id="married" type="checkbox" checked="checked">
                  Married
               </label>
               <br>
               <label  for="single" class="pure-checkbox">
                  <input id="single" type="checkbox">
                  Single
               </label>
               <br>
               <label for="dontknow" class="pure-checkbox">
                  <input id="dontknow" type="checkbox" disabled>
                  Don't know (Disabled)
               </label>               
               <br>
               <br>
            </div>
            <div class="pure-controls">
               <label for="male" class="pure-radio">
                  <input id="male" type="radio" name="gender" value="male" checked>
                  Male
               </label>
               <br>
               <label for="female" class="pure-radio">
                  <input id="female" type="radio" name="gender" value="female">
                  Female
               </label>
               <br>
               <label for="dontknow1" class="pure-radio">
                  <input id="dontknow1" type="radio" name="gender" value="female" disabled>
                  Don't know (Disabled)
               </label>
               <button type="submit" class="pure-button pure-button-primary">Submit</button>
            </div>
         </fieldset>
      </form>       
   </body>
</html>

Result

Verify the result.

No comments:

Post a Comment