All Projects → joni2back → inline.js

joni2back / inline.js

Licence: MIT license
Live CSS Helpers with Javascript

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to inline.js

stylenames
A simple JavaScript utility for conditionally joining inline styles together
Stars: ✭ 18 (-50%)
Mutual labels:  inline-css, inline-styles
InlineCssParser
A Visual Studio Extension that helps to extract inline styles into a seperate css file.
Stars: ✭ 23 (-36.11%)
Mutual labels:  inline-css, inline-styles
critical-plugin
⚙️ Critical plugin for webpack (https://webpack.js.org/)
Stars: ✭ 17 (-52.78%)
Mutual labels:  inline-css, inline-styles
Critical
Extract & Inline Critical-path CSS in HTML pages
Stars: ✭ 9,364 (+25911.11%)
Mutual labels:  inline-css, inline-styles
TheVimIDE
Modern Vim IDE with support for C/C++, Java, Python, Lua, PHP, JavaScript, Ruby and much more ...
Stars: ✭ 33 (-8.33%)
Mutual labels:  javascript-tools
athlete
💪 type safe elm-html-css-builder aka athlete
Stars: ✭ 60 (+66.67%)
Mutual labels:  inline-css
inline-source-webpack-plugin
A webpack plugin to embed css/js resource in the html.
Stars: ✭ 18 (-50%)
Mutual labels:  inline-css
alter.email
Transform your HTML emails.
Stars: ✭ 66 (+83.33%)
Mutual labels:  inline-css
Aec-Library-Website
This is an Open-Source Library Website in which you get Resources to learn different topics, Donate book section to donate your old books, and a Book issue section to keep a record of all the books issued. -HacktoberFest Accepted
Stars: ✭ 52 (+44.44%)
Mutual labels:  javascript-tools
Jsxstyle
Inline style system for React and Preact
Stars: ✭ 1,990 (+5427.78%)
Mutual labels:  inline-styles
normas
Normal Lightweight Javascript Framework for server-side render compatible with Turbolinks
Stars: ✭ 32 (-11.11%)
Mutual labels:  mutationobserver
Email Templates
📫 Create, preview, and send custom email templates for Node.js. Highly configurable and supports automatic inline CSS, stylesheets, embedded images and fonts, and much more!
Stars: ✭ 3,291 (+9041.67%)
Mutual labels:  inline-css
learn-ramda
🐏 Learn ramda, the interactive way
Stars: ✭ 84 (+133.33%)
Mutual labels:  javascript-tools
typeless
Typeless: the benefits of TypeScript, without the types
Stars: ✭ 17 (-52.78%)
Mutual labels:  javascript-tools
necktie
Necktie – a simple DOM binding tool
Stars: ✭ 43 (+19.44%)
Mutual labels:  mutationobserver
A Journey Toward Better Style
A Journey toward better style
Stars: ✭ 245 (+580.56%)
Mutual labels:  inline-styles
scrapman
Retrieve real (with Javascript executed) HTML code from an URL, ultra fast and supports multiple parallel loading of webs
Stars: ✭ 21 (-41.67%)
Mutual labels:  javascript-tools
twly
Wanna get DRY? Static analysis tool for detecting repeat code.
Stars: ✭ 42 (+16.67%)
Mutual labels:  javascript-tools
Awesome-Javascript
A Curated list of Awesome JavaScript Resources
Stars: ✭ 116 (+222.22%)
Mutual labels:  javascript-tools
PopUpOFF
Chrome extension, providing better web experience.
Stars: ✭ 65 (+80.56%)
Mutual labels:  mutationobserver

inline.js

CSS Helpers with Javascript

Use inline css helpers in a fashion way, just add the magic classes to elements in real or render time

Some formulas:

<!-- Set margin-top of 25px -->
<div class="mt25"></div>
<!-- Set font-size to 14pt -->
<div class="fs14pt">hello!</div>
<!-- Combine formulas (its the same to add 
     font-size:14pt; margin-top:25px; margin-bottom:0; 
     margin-left:2em; border-radius:30%)
-->
<div class="fs14pt mt25 mb0 ml2em br30%">hello!</div>

// usage
var container = window.document.getElementById('container');
window.inlinejs.apply(container);

Contribute

To contribute to the project you can simply fork this repo, then do a pull request.

Versioning

For transparency into our release cycle and in striving to maintain backward compatibility, inline.js is maintained under the Semantic Versioning guidelines.

Copyright and license

Code and documentation released under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].