Showing posts with label CSS. Show all posts

Snowfall Effect using CSS for Blogger Blogs

Metro Style Ticker For Blogger Posts


A ticker is basically shows the important news and entries but in our case we will be using this ticker to show the latest posts in a nice metro design attracting the visitors attention while they are watching a old post of your this will help them to find more recent and awesome posts.


  • DEMO


  • Code

    You can add it anywhere in your blog using the template editor or the Layout.

    <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="//cdn.jsdelivr.net/jquery.marquee/1.3.1/jquery.marquee.min.js" type="text/javascript"></script>
    <style>
    #headlines {
    overflow:hidden;
    position:relative;
    line-height:25px;
    background:#34495e; /* Background Color Code By Bloggeraxe */
    height:45px;
    padding:0 0 0 135px;
    }
    #headlines h3 {
    color:#fff;
    font-family:Oswald, sans-serif;
    font-size:17px;
    font-weight:400;
    text-transform:uppercase;
    margin-left:-115px;
    margin-top:10px;
    position:absolute;
    }
    #headlines .right_arrow {
    padding:0 38px 0 110px;
    display:block;
    background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBDyWwaiuqcg0WXTwCNVpoh2C1RrtiYuP39MduBIbsWpk0HEAy1KR7JQ4aVVYpECqjqVvxl8RjbCpnFS5QgvHbY6Xk0JLKkxd26KHFkvRqsZgovWVpXVbdmbYWkdLOhyphenhyphen1SohAMU4yVGP8W/s41/arrow.png) no-repeat right center;
    height:46px;
    line-height:46px;
    position:absolute;
    left:0;
    top:0;
    }
    #ticker_post {
    position:relative;
    margin:0;
    margin-left:20px;
    height:50px;
    width:auto;
    }
    .marquee {
    width: 980px; /* Width of the area where entries are shown Code By Bloggeraxe */
    overflow: hidden;
    line-height: 45px;
    }
    .js-marquee a {
    font-family:Oswald, sans-serif;
    font-size:15px; /* Size of texts Code By Bloggeraxe */
    color: #FFF; /* Color of text Code By Bloggeraxe */
    padding-bottom: 20px;
    text-decoration: none;
    }
    .ticker_separator {
    color:#FFF; color: #FFF; /* Color of Posts Code By Bloggeraxe */
    margin:0 10px;
    }
    </style>
    <div id='headlines'>
    <h3>News</h3>
    <div class='right_arrow'></div>
    <script>
    var blog_url = "http://bloggeraxe.blogspot.com";
    var numero_post = 10; // Number Of Posts Code By Bloggeraxe
    </script>
    <script type="text/javascript" src="http://yourjavascript.com/946415552/ticker.js"></script></div>
    <div style='clear:both;'></div>
    <script>
    $(window).load(function() {
    $('.marquee').marquee({
    direction: 'left', // Direction left or right Code By Bloggeraxe
    duration: 25000, // speed Code By Bloggeraxe
    pauseOnHover: true,
    duplicated: true
    });
    });
    </script>

    Multiple Backgrounds Using CSS


    Perhaps at some point you wanted to use more than one background using an HTML element for example, to put a picture at top and another post on the bottom of a page.The most recurrent way is to create two or more containers and put in each a background;However it is not necessary because we can use two or more different images in one container using the same property background we used already. it is not a big deal. First we should use the  property 
    background-image and than add URLs of images, separated by a comma.
    For example, if we add two images at the bottom of a blog it would like something like this:

    body {
    background-image: url(URL of Image), url(URL of Image);
    }

    And to change its position use background-position , likewise establish ownership for the first image, then put a comma, and then put the other position.

    body {
    background-image: url(URL of Image), url(URL of Image);
    background-position: left top, right bottom;
    }

     Here we have the first image that will fit on the upper left side, and the second in the lower right.
    , we can also specify whether or not the images are repeated.

    body {
    background-image: url(URL of Image), url(URL of Image);
    background-position: left top, right bottom;
    background-repeat: no-repeat, no-repeat;
    }
     If you also want to add a background color we can do it using background-color .

    body {
    background-color: #ccc;
    background-image: url(URL of Image), url(URL of Image);
    background-position: left top, right bottom;
    background-repeat: no-repeat, no-repeat;
    }
     You can see an example of the DIV is then like a single image but the reality is that we use a background color, then a picture up, and another image below.



    This is the full code I used for the previous example.

    CSS
    #doublebackground {
    background-color: #f2f2f2;
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJr8yhW01OovHFQTskS1NVC5yl3RZJS4jBnv0eKuyDG4fa7oL4vnJO6T7QbmyPr7cvO7m3V_P_aiGYtUHJPHMNPRAeuUgLI2_JCiu5XQ7Wzlmg8rBpFogeEthlSnMZrCNbgSC35z5Ri9gN/s450/fondo1.png), url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXzll5iyptLmbt52cmKlmn49b2pj-YJ2FjEhECogyrJCtul7r2CRKJvFw1E5ACwCiulMB56ny6dyXIyJj9G8dKX3pZVK_JcVVw2H6DTLwECJd8nzfg5B2YK8Wsr-4PKxSxaCykkAM6C5f4/s450/fondo2.png);
    background-repeat: no-repeat, no-repeat;
    background-position: left top, right bottom;
    width: 450px;
    height: 390px;
    position: relative;
    margin: 0 auto;
    }
    #doublebackground h2 {
    position: absolute;
    top:40%;
    left: 20%;
    color: #fc5669;
    }

    HTML

    <div id="doublebackground">
    <h2>Multiple Backgrounds Using CSS</h2>
    </div>

    But the number of images is not a limited since we can use three or more and give each a different property. As in the following example DIV, add three images of background, each has a different position, and the third will be repeated horizontally.



    This is the complete code.

    CSS

    #doublebackground {
    background-color: #C5E0DC;
    background-image: url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4C8OfsAwFQVz1-XIGlrpYF61JIBZnWfBzDwRyytItVtv2qN-fnJhJDRia0klOLFscSLJSBmsO71B3xuWYQfh64WiW6qu-gso6aDly5lnr9jxvT5xwe2cE3xBXOSMzYcywo5yZtcvrArKo/s116/fondo1.jpg), url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmfzQWz14pTY8PX-D2qDBD6YeQhNic_E5CWl3aqP_1uZjcRTRAFK9sgy3s1QyuuBEdRiheKEYYif1vZAV6bYTBf9EHQo1Rxw9CQpviWZ7CqIT29FkkqV_sJ0hYh4LYmdCpdcIf7SFd30NY/s116/fondo2.jpg), url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv7o6m2NAMWIjDy2SifTuizHsXspbXUh2hGtwlu2XwiWV9SCoddJ8P9irmRNcPPoh0Fua3U9ovKJwZoptG0p4rp1oK3kWPldlYRCWBFtPOCghJw0P9xdqd1oNAa5qxzimCXhA7WH5nkmFl/s116/fondo3.jpg);
    background-repeat: no-repeat, no-repeat, repeat-x;
    background-position: right top, center center, left bottom;
    width: 349px;
    height: 300px;
    position: relative;
    margin: 0 auto;
    }
    HTML

    <div id="doublebackground">
    </div>

    As you can see, adding more than one background image to the blog template a very simple thing. Always remember to separate them with a comma and images properties, except the last, that does not carry comma, only semicolon. For Internet Explorer it works for version 9 onwards so almost everyone will see it correctly working.

    Thanks Everyone
    DoNe.



    Metro Style Search Box V2 For Blogger

    Hi guys this is the second post i post in one day and got the second version of search box you cant see properly what is the effect so there is a live demo below.

    Metro Style V4 Responsive Menu For Blogger


    Hi guys i got a new version for  a metro style menu this is the 4th version we release and in this version the menu is responsive.

    Metro Style Official Blogger Contact Form

    Hi guys today i have an awesome CSS which will convert the blogger official contact  form to metro style as you can see on      ⇜ the image left side.














    Metro Style Smooth Hover Accordion Archive For Blogger

    Hi guys long time no new posts today i am back with a new awesome widget for blogger actually the only weak point in this widget is that it is manual it is not auto although it is responsive.

    Metro Style Small Social Widget For Blogger

    Hi guys i didn`t posted for a long time i was busy designing templates but anyway i have a new widget for your blog lets continue to the tutorial.

    Metro Style Menu For Blogger

    Hi guys today i have an awesome metro style menu only with css and Html.

    Flat UI Style Subscribe Widget For Blogger

    Hi guys! We always used to share metro style widgets but this time we have a flat ui widget this means now we have a new label which will be for Flat UI widgets.

    Admin Panel Widget For Blogger (Only Visible To Admin)

    Hi guys as i said before that i would by designing widgets then templates for blogger so this time i have an Admin Panel widget for your blog only visible to admin of the blog.



    Simple CSS Dropdown Menu For Blogger

    Hi guys long ago i did not post about menu`s but today i got one for you guys all thanks goes to djogzS this menu is designed by some HTML and CSS.

    Simple Header With CSS3

    Hi guys long time i did`nt posted any posts i was just busy on my latest template which was Smile Blogger Template but now i finished designing that template so now until i get some other inspirations for an another template i would be staying in Bloggeraxe for posting more and more posts today`s post is about a simple header with css3, I will just give the HTML and the CSS3 and you should find where to add them.

    Loading Effects For Blogger Comments

    Hi guys today i have an awesome post for you today i will teach you how to add comment effects to blogger comments when you will add the code and then click add a comment or reply you will see the effect.






    Metro Style Social Media Widget And Search Box with CSS Effects For Blogger


    Hi guys today i have an awesome widget for blogger with metro style social media widget and search widget fully metro styled.

    Effects For Comments Avatar In Blogger

    Today i have an awesome trick for you guys and it is how to add effects to comment avatar you can see the effect in the gif image.

    Metro Style Menu V2 For Blogger

    Previously i posted a Metro style menu, This time this metro menu has fading effects you can see the demo below.

    Metro Style Recent Comments V2 Widget For Blogger


    Hi guys,Again after releasing the first version of metro style recent comments today i release the second version it is not very metro styled but it is some so that is why it is the second version of the metro style recent comments.

    Metro Style Recent Posts With Thumbnails For Blogger

    Hi guys today is special post because it is our first post about recent posts widgets as our blog topic is Metro so this widget is in metro style i hope you like it.

    Social Media Icons With CSS For Blogger

    This tutorial will help you to add social media icons in the top right corner of the page which could increases the likelihood that readers can follow through the various social networks.  so lets go to the tutorial.