Skip to content

Rounded corners "technorati style". Adds one image to round four corners on all HTML elements with class "round"

Notifications You must be signed in to change notification settings

jesperronn/jquery-round-corners

Repository files navigation

= Jquery round corners =
Round corners the Technorati way. Adds four empty HTML elements inside any div with class="round"

The library does the magic. Include a few lines in your HTML head section, and you're ready to go.


== Example ==

Put this in your <head> section:
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="roundcorners.js"></script>
<link type="text/css" rel="stylesheet" href="roundcorners.css"></link>


Add class="round" to a div in your HTML:


<div class="round">
  <h2>..</h2>
  <ul>
    <li>..</li>
    ..
  </ul>
</div>



See also file example.html


== More info ==
Created 2008-05-26
By Jesper Rønn-Jensen, www.justaddwater.dk
Explanation (blog article): [JQuery Rounded Corners (Technorati Style):http://justaddwater.dk/2008/05/26/jquery-rounded-corners-technorati-style/]
Github code repository: http://github.com/jesperronn/jquery-round-corners/tree/master


== LICENSE

(The MIT License)

Copyright 2008 Jesper Rønn-Jensen, www.justaddwater.dk

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Rounded corners "technorati style". Adds one image to round four corners on all HTML elements with class "round"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published