Skip to main content

4 Cool CSS3 Shadow box to use

4 Cool CSS3 Shadow box to use
After publishing 5 superb CSS3 effect for images, I thought about to publish something like text box/content box or just empty div container what you can easily use on your web project. CSS3 made web designing very easy, and styling something with CSS3 is very flexible. So here 4 CSS3 empty container I publishing what you can use on your web designing very easily. And even you don’t have any project indented you can just use these boxes for highlighting text, phrase, codes (like-Blockquote). Let’s see how they look like and how to use

Curled border CSS3 shadow box

Curled border CSS3 shadow box

CSS

/*crawlist.net css starts*/
@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
.ks-dropshadow {
    position:relative;
    float:left;
    width:40%;   
    padding:1em;
    margin:2em 10px 4em;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.ks-dropshadow:before,
.ks-dropshadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}
.ks-dropshadow p {
    font-size:16px;
    font-weight:100;
    font-family: 'Droid Serif', serif;
    line-height:1.4;
    padding:5px 5px;
}
.ks-curled {
    border:1px solid #efefef;
    -moz-border-radius:0 0 120px 120px / 0 0 6px 6px;   
         border-radius:0 0 120px 120px / 0 0 6px 6px;
}
.ks-curled:before,
.ks-curled:after {
    bottom:12px;
    left:10px;
    width:50%;
    height:55%;
    max-width:200px;
    -webkit-box-shadow:0 8px 12px rgba(0, 0, 0, 0.5);
       -moz-box-shadow:0 8px 12px rgba(0, 0, 0, 0.5);
            box-shadow:0 8px 12px rgba(0, 0, 0, 0.5);
    -webkit-transform:skew(-8deg) rotate(-3deg);
       -moz-transform:skew(-8deg) rotate(-3deg);
        -ms-transform:skew(-8deg) rotate(-3deg);
         -o-transform:skew(-8deg) rotate(-3deg);
            transform:skew(-8deg) rotate(-3deg);
}
.ks-curled:after {
    right:10px;
    left:auto;
    -webkit-transform:skew(8deg) rotate(3deg);
       -moz-transform:skew(8deg) rotate(3deg);    
        -ms-transform:skew(8deg) rotate(3deg);    
         -o-transform:skew(8deg) rotate(3deg);
            transform:skew(8deg) rotate(3deg);
}
/*crawlist.net css ends*/


HTML

<!--crawlist.net shadow starts-->
<div class="ks-dropshadow ks-curled" style="width:70%;height:200px;">
      <p>
 Paste/type Your Text
      </p>
    </div>
<!--crawlist.net shadow ends-->

 

Lifted border CSS3 shadow box

Lifted border CSS3 shadow box

CSS

/*crawlist.net css starts*/
@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
.ks-dropshadow {
    position:relative;
    float:left;
    width:40%;   
    padding:1em;
    margin:2em 10px 4em;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.ks-dropshadow:before,
.ks-dropshadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}
.ks-dropshadow p {
    font-size:16px;
    font-weight:100;
    font-family: 'Droid Serif', serif;
    line-height:1.4;
    padding:5px 5px;
}
.ks-lifted {
    -moz-border-radius:4px;
         border-radius:4px;
}
.ks-lifted:before,
.ks-lifted:after {
    bottom:15px;
    left:10px;
    width:50%;
    height:20%;
    max-width:300px;
    -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);  
       -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
            box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
    -webkit-transform:rotate(-3deg);   
       -moz-transform:rotate(-3deg);  
        -ms-transform:rotate(-3deg);  
         -o-transform:rotate(-3deg);
            transform:rotate(-3deg);
}
.ks-lifted:after {
    right:10px;
    left:auto;
    -webkit-transform:rotate(3deg);  
       -moz-transform:rotate(3deg); 
        -ms-transform:rotate(3deg); 
         -o-transform:rotate(3deg);
            transform:rotate(3deg);
}
/*crawlist.net css ends*/


HTML

<!--crawlist.net shadow starts-->
<div class="ks-dropshadow ks-lifted" style="width:70%;height:200px;">
      <p>
 Paste/type Your Text
      </p>
    </div>
<!--crawlist.net shadow ends-->

 

Raised border CSS3 shadow box

Raised border CSS3 shadow box

CSS

/*crawlist.net css starts*/
@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
.ks-dropshadow {
    position:relative;
    float:left;
    width:40%;   
    padding:1em;
    margin:2em 10px 4em;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.ks-dropshadow:before,
.ks-dropshadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}
.ks-dropshadow p {
    font-size:16px;
    font-weight:100;
    font-family: 'Droid Serif', serif;
    line-height:1.4;
    padding:5px 5px;
}
.ks-raised {
    -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
/*crawlist.net css ends*/


HTML

<!--crawlist.net shadow starts-->
<div class="ks-dropshadow ks-raised" style="width:70%;height:200px;">
      <p>
 Paste/type Your Text
      </p>
    </div>
<!--crawlist.net shadow ends-->

 

Vertical curve border CSS3 shadow box

Vertical curve border CSS3 shadow box

CSS

/*crawlist.net css starts*/
@import url(http://fonts.googleapis.com/css?family=Droid+Serif);
.ks-dropshadow {
    position:relative;
    float:left;
    width:40%;   
    padding:1em;
    margin:2em 10px 4em;
    background:#fff;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
       -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
            box-shadow:0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
}
.ks-dropshadow:before,
.ks-dropshadow:after {
    content:"";
    position:absolute;
    z-index:-2;
}
.ks-dropshadow p {
    font-size:16px;
    font-weight:100;
    font-family: 'Droid Serif', serif;
    line-height:1.4;
    padding:5px 5px;
}
.ks-curved:before {
    top:10px;
    bottom:10px;
    left:0;
    right:50%;
    -webkit-box-shadow:0 0 15px rgba(0,0,0,0.6);
    -moz-box-shadow:0 0 15px rgba(0,0,0,0.6);
    box-shadow:0 0 15px rgba(0,0,0,0.6);
    -moz-border-radius:10px / 100px;
    border-radius:10px / 100px;
}
/*crawlist.net css ends*/


HTML

<!--crawlist.net shadow starts-->
<div class="ks-dropshadow ks-curved" style="width:70%;height:200px;">
      <p>
 Paste/type Your Text
      </p>
    </div>
<!--crawlist.net shadow ends-->


How to use
Copy and paste the CSS part into your stylesheet.css and copy and paste HTML part where you want to show these container boxes on your webpage

How to configure
  • Add text to a box, at HTML part’s <p> and </p> tag, inside of <p> and </p> tag paste/type your texts
  • To change the height and width of the box at HTML part’s change the value of width:70%;height:200px;
  • Change the font family, remove @import…..; line from CSS part, and paste your own font-family,
  • Change the line-height (space between two line) as you want default is 1.4, Change font size 16px to any px you want.

Compatibility
These codes are optimize for providing maximum support on every web browser, old browser and IE may not support these effects.

Last words, don’t forget to mention your feedback, stay touch more CSS3 border I’ll publish soon, until than chill…

Comments

Popular posts from this blog

Easily Get 50000 free Backlink for your website

Backlinks are heart of SEO. Without backlink your website will not get a good position in search result and won't get indexed quickly. As you already knew there is two ways you can get backlinks one is Natural linking and another is paid or automated linking. Natural linking is worth to doing and it takes a while but if you don’t have enough time, running a professional business website and need to reach a destination quickly, automated backlinking going to be your last choice. To make automated backlinks you will need to buy paid link package or if you just don’t willing to buy links right now let’s start with free. Here such kind of free backlink maker, free backlink generator listed. And definitively you have a chance to create 50000+ free backlink for your website. But you should also remember Google doesn't like it, I mean Google doesn't recommend it at all. Read on-

+ 50000 free backlink for your websiteIndex kings
Rapid website submitter index kings it will submit y…

Where to paste Google Analytics Code in Blogger

Fortunately blogger has default analytics report on its dashboard. But the visitor data reported in dashboard that is not sufficient. So adding Google analytic code in Blogger manually is extremely useful to do visitor tracking (where do visitors coming form, their behavior on your website and on specific content, SEO analysis, website performance look up, AdSense tracking, future reference etc).
But the question is where to paste Google analytic code for maximum result. The basic rule of adding Google analytic code in website is copy and pastes the script code into every webpage you want to track and basically maintaining this theory this is quite impossible to do.
So in this narrow case there is a quite easy way you can use, to paste Google analytic code in blogger read on -

Where to paste Google Analytics code in Blogger
Step 1: Go to Google analytic and log in

Step 2: Set up an account by putting website name, address, reporting time

Step 3: Now you will get a Tracking Id and Trackin…

How to Optimize Website to Load Faster

In the matter of visiting a website or blogsite nobody likes a tortoise, everybody likes rabbit. A slow loading website bothers everyone and you will lose your visitor for forever, even if there you putted a lots of good content. Again a fast loading website is a great factor for having more visitors and pageviews, friendlier to SEO (Google likes and recommends Speed). Overall making a good impression about your content to visitor you have to make your website load faster.Optimizing and taking care of some fact is enough to make a website load faster. Things focused on here are using good host, removing unnecessary code, scripts even widget, gadgets, optimizing for image, fast caching. Also if you using wordpress how to optimize wordpress website to load faster explained here. Keep on reading the minimax explanation-
How to Optimize Website to Load Faster
Optimizing CodesCompress CSSOptimizing CSS codes of your website’s is important. Unnecessary CSS code makes site sloth. So remove u…

13 Best Forum CMS/Script to use

Forum or bulletin board is the best way to start discussion with your website or product's user, clients or Just chilling out with a phenomenon, problem or solutions. To create a forum website you need to make a platform by coding, Or you can just use ready-made forum CMS (content management system). Here I've made a list for best forum CMS (platform) or bulletin board script/software. All forum cms gathered here are easy to use and management plus high end performance and satisfaction. Just read on the list, click on the names to get more information, download and use.

13 Best Forum CMS/Script to use

V Bulletin (Paid)
The best professional and business forum cms/software. You can find it anywhere all over the internet. They got customer like Nasa, Sony, Stream

Satisfaction:     Real-time integration    Extensive personalization (lot of third party themes)    Content generation    Mobile optimize    Easy management ability to launch site under 15 minutes    Integrated Seo    Bui…

7 best CMS/script for building Social networking website

The demands of social networking and community sites are increasing rapidly. For building a community/networking site you need to code it from scratch. But if you are not a pro coder or you don’t have a nerd team, building a social networking website is completely impossible. So as non coder to build Social networking website you can use CMS (content management system - readymade platform what helps you to build site) also known as platform software or script. With social networking CMS you will be able to-
Build a Social networking website in a short time It can be use for personal or commercial purposeCustomizable, so you can modify any part of site as you wantSome of these CMS are open source (completely free and you can modify/upgrade the source code) and some of paid. Let’s see what content management systems I talking about for building Social networking website.

7 best CMS/script for building Social networking websiteDolphin Dolphin is the world's most advanced community CMS…