Brand CSS Buttons for Web Pages and Newsletters

B
Published in: CSS

If you are looking to add simple CSS based buttons to your web pages or email newsletters, here are some ready-to-use styles for you.

The color palettes of these buttons are derived from popular websites like Google Plus, Gmail, Facebook, Dropbox, etc. The button have rounded corners but you can modify the border-radius property to change the roundness or remove the radius for flat buttons. Also, change the value of “href” attribute to point the button to any web page or mailto email address.

Google Red with White Text

  <div style="width:200px;background-color:#D14836;border:1px solid #999;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#fff;white-space:nowrap;display:block; text-align:center">
      Google Red with White Text</span></a>
    </div>
  </div>

Gmail Gray with Black Text

<div style=
  "width:200px;background-color:#f1f1f1;border:1px solid #999;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#444;white-space:nowrap;display:block; text-align:center">
      Gmail Gray with Black Text</span></a>
    </div>
  </div>

Facebook Blue with White

  <div style=
  "width:200px;background-color:#4D90FE;border:1px solid #3079ED;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#fff;white-space:nowrap;display:block; text-align:center">
      Google Blue Button</span></a>
    </div>
  </div>

Google Blue Button

  <div style=
  "width:200px;background-color:#ECEEF5;border:1px solid #CAD4E7;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#3B5998;white-space:nowrap;display:block; text-align:center">
      Facebook Like Button</span></a>
    </div>
  </div>

Facebook Like Button

  <div style=
  "width:200px;background-color:#E4F3FF;border:1px solid #79BCEA;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#1E75BD;white-space:nowrap;display:block; text-align:center">
      Dropbox Blue Button</span></a>
    </div>
  </div>

Dropbox Blue Button

  <div style=
  "width:200px;background-color:#0370EA;border:1px solid #076BD2;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#fff;white-space:nowrap;display:block; text-align:center">
      Google Chrome Blue Button</span></a>
    </div>
  </div>

Google Chrome Blue Button

<div style=
  "width:200px;background-color:#E51400;border:1px solid #E51400;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#fff;white-space:nowrap;display:block; text-align:center">
      Windows Phone Red Button</span></a>
    </div>
  </div>

Amazon Yellow and Black

  <div style=
  "width:200px;background-color:#4CADCB;border:1px solid #02A9D6;border-radius:4px;padding:10px; margin:10px 5px">
  <div style="padding-right:10px;padding-left:10px">
      <a href="#" style="text-decoration:none" target="_blank"><span style=
      "font-size:12px;font-family:Arial;font-weight:bold;color:#fff;white-space:nowrap;display:block; text-align:center">
      Google Nexus Green Button</span></a>
    </div>
  </div>
📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: CSS

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
A
Amit Agarwal

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account
G

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube