Samples with jquery, css3 and html5

Showing posts with label jQuery popup. Show all posts
Showing posts with label jQuery popup. Show all posts

Tuesday, 21 April 2015

jQuery plugin for modal boxes and popups

Avgrund is a jQuery plugin for modal boxes and popups. It uses interesting concept showing depth between popup and page. It works in all modern browsers and gracefully degrade in those that do not support CSS transitions and transformations (e.g. in IE 6-9 has standard behavior). Tested with jQuery 1.4+





  Live Demo               Download







CSS3: Create rounded corners using css only

Once upon a time all the web developers do lot of work to create rounded corners. Sometimes we need to add extra JavaScript files for IE. But now we can able to create rounded corners just using a single property that is available in CSS3.

The border-radius property allows you to add rounded corners to elements.




<!DOCTYPE html>
<html>
<head>
<style> 
#rnd-cornners1 {
            border-radius: 25px;
            background: #EB65A0;
            padding: 20px; 
            width: 200px;
            height: 150px;    
}
#rnd-cornners2 {
            border-radius: 25px;
            border: 2px solid #73C5E1;
            padding: 20px; 
            width: 200px;
            height: 150px;    
}
</style>
</head>
<body>
<p>The border-radius property allows you to add rounded corners to elements.</p>
<p>Rounded corners for an element with a specified background color:</p>
<p id="rnd-cornners1">Rounded corners!</p>
<p>Rounded corners for an element with a border:</p>
<p id="rnd-cornners2">Rounded corners!</p>
</body>
</html>

Like Us On Facebook

Popular Posts

Powered by Blogger.

Main Post

Send Quick Massage

Name

Email *

Message *