পৃষ্ঠাসমূহ

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 Buttons

PURE.CSS has a very beautiful and responsive CSS for customizing the look of a button. The following CSS are used:
S.N.Class Name & Description
1pure-button
Represents a standard button. Can be used to style a link and button as well.
2pure-button-disabled
Represents a disabled button. To be used along with pure-button.
3pure-button-active
Represents a pressed button. To be used along with pure-button.

Example

purecss_buttons.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">
      <style>
         .success,
         .error,
         .warning,
         .secondary {
            color: white;
            border-radius: 4px;
            text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
         }
         
         .success {
            background: rgb(28, 184, 65); /* green */
         }

         .error {
            background: rgb(202, 60, 60); /* maroon */
         }

         .warning {
            background: rgb(223, 117, 20); /* orange */
         }

         .secondary {
            background: rgb(66, 184, 221); /* light blue */
         }

         .xsmall {
            font-size: 70%;
         }

         .small {
            font-size: 85%;
         }

         .large {
            font-size: 110%;
         }

         .xlarge {
            font-size: 125%;
         }
      </style>      
   </head>
   <body> 
      <h2>Standard Buttons</h2>
      <button class="pure-button">Click Me</button>
      <button class="pure-button pure-button-active">Click Me</button>
      <button class="pure-button pure-button-disabled">I am disabled</button>

      <h2>Links as Buttons</h2>
      <a class="pure-button">Link</a>
      <a class="pure-button pure-button-active">Link</a>
      <a class="pure-button pure-button-disabled">Disabled Link</a>

      <h2>Primary Button</h2>
      <a class="pure-button pure-button-primary">Submit</a>    

      <h2>Customized button</h2>
      <button class="pure-button success">Success</button>
   <button class="pure-button error">Error</button>
   <button class="pure-button warning">Warning</button>
   <button class="pure-button secondary">Secondary</button>
   
   <h2>Different Sized button</h2>
      <button class="pure-button xsmall">Extra Small</button>
   <button class="pure-button small">Small</button>
   <button class="pure-button large">Large</button>
   <button class="pure-button xlarge">Extra Large</button>
   </body>
</html>

Result

Verify the result.

No comments:

Post a Comment