Socket
Socket
Sign inDemoInstall

email-styles

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    email-styles

Light weight CSS framework for emails.


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Install size
63.1 kB
Created
Weekly downloads
 

Readme

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

Last updated on 15 Apr 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc