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

How to use Google Font in Blogger post

Your Blogger template’s default fonts are basically Ariel, Georgia, Times, Trebuchet, Helvetica. These fonts are simple and not so attractive. If your blog running with these default fonts may be you will lost some audience, those audience who care about your blog design overall too. But these default fonts can be change easily. There are lots of font provider offers web fonts what can be easily integrate to your site. Google web font is one of best web font provider. In Google font’s collection more than 650+ font with various styles you can find. Using Google font in your post, you can customize your font style more specifically, like font thickness, slant, width, line height, font weight, font script etc. Let’s add Google font in your Blogger, this process is easy and difficulty is beginner. Read on-

How to use/install Google Font in Blogger post
Step 1: Choosing Fonts
Go to Google web font (Here), See demo of font family by Word, Sentence, Paragraph. Use Filter (Left side) for find …

Add Cool Social Media Sharing icons below posts in Blogger

Change the taste of random looking social sharing button below posts in Blogger, here you can find a different and cool social media sharing widget what I named it Coldblodded! This social sharing widget loads faster than other icon base social shares, it's icons change color with mouse hover with flipping effect, it got the major social media sites share, main color is black colored what looks artistic and attractive.
Coldblodded social media sharing widget offers shares a post to Facebook, Twitter, Google plus, Pinterest and bookmark a post on Delicious, Evernote, Stumble upon, Digg, Blogger, Yahoo bookmarks additional feedburner email subscription. It made with CSS, HTML and icons uses only a piece of image what will draw all icon process calls CSS image transition CSS Sprite, This widget also reduce HTTP request unlike other icon base sharing choices. Will be fit to any kind of Blogger blog, no matter they are professional blogs, gallery or other features sites. Let's see…

How to Auto tweet and Auto post to Facebook your Blogger blog’s post

Letting your social networking fan know about your new published post instantly ‘Auto tweet and auto post to Facebook’ your post is very effective and time saving. For Wordpress - using plugin can solve this auto tweet and auto post job but Blogger doesn’t have option like this. But there is also solution exists. Let’s see what I’m talking about Auto tweet and Auto post to Facebook your blogger blog’s post.


How to Auto tweet and Auto post to Facebook your Blogger’s post

Twitter Feed, does the job easily. All you need to do is set up your blog URL at their service. Here is a quick overview: How to submit you blog at Twitter Feed for Auto tweeting and Auto posting to Facebook your Blog post.

Below walk through steps are written; just read on:-
Open an account at Twitter Feed, confirm your email, and visit dashboard.Click on ‘Create new feed’, you will direct to setup pageIn setup page ‘Name your feed’ and ‘add your source URL’ you’ll be fill up with your site’s feed. Every site has feed…

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…

How to remove 'You may use these Html tags and attributes'

You may use these HTML tags and attributes makes our Wordpress comment box/form noisy, ugly and wired! Some visitor just gets shocked with these messy HTML note tag and attributes using request and don't like to comment in your site anymore. To remove this HTML tag note, all you need to embed a code phrase in to your Wordpress theme. Actually this will not really remove or delete this ugly HTML tag using request from comment form, This CSS code phrase embedding will disallow/disable HTML tag note from Wordpress comment box of your theme.

This code phrase is-

 .form-allowed-tags { display:none; }

How to remove You may use these HTML tags and attributes
I am using Twenty Fourteen Wordpress default theme for this tutorial (actually it will work on any theme because Stylesheet contains all CSS codes and this code just will disallow/hide up this comment HTML note)

Step 1 : Select the theme you use Log in to your Wordpress, From dashboard hover mouse on Appearance menu, Select 'Themes…