Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

email-styles

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

email-styles

Light weight CSS framework for emails.

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Email Styles

Light weight CSS framework for emails.

Need professional looking emails? Stylize your emails for Gmail, Hotmail, Outlook and more with Email Styles CSS framework.

  • Usage
  • License

See DEMO.

NOTE: Not all email client compatibility support certain HTML and CSS tags. Keep this in mind when preparing your email template.

Install

Copy and paste dist/style.min.css or user node:

npm install email-styles

Usage

To use the framework, simply copy the content of the minified version, located at dist/style.min.css, in your emails template head section:

<html>
    <head>
        <style type="text/css">
            <!-- COPY CONTENT FROM style.min.css HERE!!!!!! -->
        </style>
    </head>
</html>

Basic Structure

This is the recomended structure to use with the framework:

<html>
    <head>
        <style type="text/css">
            <!-- COPY CONTENT FROM style.min.css HERE!!!!!! -->
        </style>
    </head>
    <body>

        <div class="container">

            <div class="header">
                <!-- Your logo or company name here -->  
            </div>

            <div class="content">
                <!-- Email content here -->  
            </div>

            <div class="footer">
                <!-- Copyright and links info here -->  
            </div>

        </div>

    </body>
</html>

Then use the provided CSS classes.

License

The MIT License (MIT)

Copyright (c) 2019 10Quality.

Keywords

FAQs

Package last updated on 15 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc