Skip to content

Instantly share code, notes, and snippets.

@LukyVj
Created September 5, 2013 09:46
Show Gist options
  • Save LukyVj/6448092 to your computer and use it in GitHub Desktop.
Save LukyVj/6448092 to your computer and use it in GitHub Desktop.
A Pen by LukyVJ.

Demo important.js

With jq_important.js | It don't need jquery loaded. The script auto load Jquery.

A Pen by LukyVJ on CodePen.

License.

<style id="important">
div{
background:red;
background:green!;
background:blue;
color:red;
color:blue !;
color:green;
color:white;
border-radius:100%;
border-radius:100px !;
border-radius:10px;
}
</style>
<div>
important.js
</div>
<p>change the css of <code>&lt;style id="important"&gt;</code><br><small>The script auto load Jquery, easier to use if your page doesn't load jquery.</small></p>
/*
important.js
*/
body{
text-align:center;
}
div{
margin:2em auto;
width:200px;
height:100px;
line-height:6;
text-align:center;
}
small{color:#999}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment