Home » jQuery black gradient background effect Hover Slider With CSS

jQuery black gradient background effect Hover Slider With CSS

Today, We want to share with you jQuery black gradient background effect Hover Slider With CSS.In this post we will show you Bootstrap Hover Effects – examples & tutorial, hear for responsive automatic image slider in html css we will give you demo and example for implement.In this post, we will learn about How To Create Image Hover Overlay Slide Effects with an example.

jQuery black gradient background effect Hover Slider With CSS

There are the Following The simple About Fullscreen Background Image Slideshow with CSS3 Full Information With Example and source code.

As I will cover this Post with live Working example to develop automatic image slider code in jquery, so the Create black gradient background effect with sliding option with JQuery using mouseover and mouseout effect is used for this example is following below.

HTML Part

index.html

I will create HTML file.Just see bellow HTML with jQuery and css example html file and run in your local too.

Read Also:  PHP Laravel Remove Brackets Example

<div class="language-cart">
<div class="language-cart-image"><img src="/assets/uploads/files/jquery/member/language1.jpg" /></div>
<div class="language-cart-transparentbg">
<div class="language-cart-title">Food Name</div>
<div class="language-cart-desc">Bacam ta la Mena gula te rama kamie la go lie soman nam la kala..</div>
</div>
<div class="language-cart-uploadby">Johnson OMarry</div>
<div class="language-cart-info">
<div class="language-cart-hart">15</div>
<div class="language-cart-remark">10</div>
</div>
</div>
<div class="language-cart">
<div class="language-cart-image"><img src="/assets/uploads/files/jquery/member/language2.jpg" /></div>
<div class="language-cart-transparentbg">
<div class="language-cart-title">Food Name</div>
<div class="language-cart-desc">Bacam ta la Mena gula te rama kamie la go lie soman nam la kala..</div>
</div>
<div class="language-cart-uploadby">Jacky Lee</div>
<div class="language-cart-info">
<div class="language-cart-hart">45</div>
<div class="language-cart-remark">30</div>
</div>
</div>
<div class="language-cart">
<div class="language-cart-image"><img src="/assets/uploads/files/jquery/member/language3.jpg" /></div>
<div class="language-cart-transparentbg">
<div class="language-cart-title">Food Name</div>
<div class="language-cart-desc">Bacam ta la Mena gula te rama kamie la go lie soman nam la kala..</div>
</div>
<div class="language-cart-uploadby">Alex Graham</div>
<div class="language-cart-info">
<div class="language-cart-hart">115</div>
<div class="language-cart-remark">110</div>
</div>
</div>
<div class="language-cart">
<div class="language-cart-image"><img src="/assets/uploads/files/jquery/member/language4.jpg" /></div>
<div class="language-cart-transparentbg">
<div class="language-cart-title">Food Name</div>
<div class="language-cart-desc">Bacam ta la Mena gula te rama kamie la go lie soman nam la kala..</div>
</div>
<div class="language-cart-uploadby">Gordon Onwatt</div>
<div class="language-cart-info">
<div class="language-cart-hart">22</div>
<div class="language-cart-remark">14</div>
</div>
</div>
<div class="language-cart">
<div class="language-cart-image"><img src="/assets/uploads/files/jquery/member/language5.jpg" /></div>
<div class="language-cart-transparentbg">
<div class="language-cart-title">Food Name</div>
<div class="language-cart-desc">Bacam ta la Mena gula te rama kamie la go lie soman nam la kala..</div>
</div>
<div class="language-cart-uploadby">Oblen Timen</div>
<div class="language-cart-info">
<div class="language-cart-hart">125</div>
<div class="language-cart-remark">110</div>
</div>
</div>
<div class="language-cart">
<div class="language-cart-image"><img src="/assets/uploads/files/jquery/member/language6.jpg" /></div>
<div class="language-cart-transparentbg">
<div class="language-cart-title">Food Name</div>
<div class="language-cart-desc">Bacam ta la Mena gula te rama kamie la go lie soman nam la kala..</div>
</div>
<div class="language-cart-uploadby">Timothy Andreas</div>
<div class="language-cart-info">
<div class="language-cart-hart">100</div>
<div class="language-cart-remark">20</div>
</div>
</div>
<div class="clear"></div>

Css Part

<style type="text/css">
<p>    .language-cart{<br />
        padding:7px;<br />
        float:left;<br />
        margin:7px;<br />
        height:180px;<br />
        background:#f8f6f6;<br />
        -moz-box-shadow:  2px 2px 2px #ccc;<br />
        -webkit-box-shadow:  2px 2px 2px #ccc;<br />
        box-shadow: 2px 2px 2px #ccc;<br />
        position:relative;<br />
        cursor:pointer;<br />
    }</p>
<p>    .language-cart-image img{<br />
        width:180px;<br />
    }</p>
<p>    .white-text{<br />
        color:#ffffff;<br />
    }</p>
<p>    .language-cart-uploadby{<br />
        position:absolute;<br />
        bottom:6px;<br />
        left:6px;<br />
        font-size:0.7em;<br />
    }</p>
<p>    .language-cart-title{<br />
        padding:6px;<br />
        font-size:0.8em;<br />
        color:#ffffff;<br />
    }</p>
<p>    .language-cart-desc{<br />
        font-size:0.75em;<br />
        width:180px;<br />
        padding:6px;<br />
        color:#ffffff;<br />
    }</p>
<p>    .language-cart-transparentbg{<br />
        height:65%;<br />
        width:100%;<br />
        position:absolute;<br />
        bottom:0;<br />
        left:0;<br />
        background:url(/assets/uploads/files/jquery/member/transparent_black.png);<br />
        display:none;<br />
    }</p>
<p>    .language-cart-info{<br />
        font-size:0.7em;<br />
        position:absolute;<br />
        right:6px;<br />
        bottom:6px;<br />
        display:none;<br />
        color:#ffffff;<br />
    }</p>
<p>    .language-cart-hart, .language-cart-remark{<br />
        float:right;<br />
        background:url(/assets/uploads/files/jquery/member/icon_star.png) no-repeat;<br />
        padding-left:21px;<br />
        margin-right:11px;<br />
        height:16px;<br />
        line-height:16px;<br />
    }</p>
<p>    .language-cart-remark{<br />
         background:url(/assets/uploads/files/jquery/member/icon_remark.png) no-repeat;<br />
         margin-right:11px;<br />
    }</p>
<p>    .white-text{<br />
        color:#ffffff;<br />
    }</p>
<p>    .clear{<br />
        clear:both;<br />
    }<br />
</style>

jQuery/JavaScript Part

we will simply include jquery CDN file. as well as We added some custom jQuery or pure JavaScript Source code.

Read Also:  Post Multiple photos Stories via Facebook API with PHP SDK

use the functions based on above Example.

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>

<script type="text/javascript">
    $(document).ready(function () {
        $(".language-cart").bind("mouseover, mouseenter", function () {
            $(this).find(".language-cart-uploadby").addClass("white-text");

            $(this).find(".language-cart-transparentbg").slideDown(300);

            $(this).find(".language-cart-info").show(200);

        }).bind("mouseout, mouseleave", function () {
            $(this).find(".language-cart-transparentbg").slideUp(300);

            $(this).find(".language-cart-uploadby").removeClass("white-text");

            $(this).find(".language-cart-info").hide(300);
        });

        
        $(".language-cart").bind("click", function () {
            window.location.href = "#";
        });
    });
</script>

Web Programming Tutorials Example with Demo

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about pure css automatic image slider.
I would like to have feedback on my infinityknow.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Read Also:  Laravel Group by not working - LIMIT or GROUP BY with prepared statement not working

Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  How to get featured image of a product in woocommerce
  2. Read Also:  Vue js Multi level sidebar Dropdown menu
  3. Read Also:  jquery multiselect dropdown checkbox with search
  4. Read Also:  VueJS setTimeout() Function Examples
  5. Read Also:  vuejs Smooth Scroll to Top
  6. Read Also:  WooCommerce Webhooks verification in PHP
  7. Read Also:  How to pass vuejs id attributes using bootstrap popup modal
  8. Read Also:  How to get featured image of a product in woocommerce
  9. Read Also:  jquery multiselect dropdown checkbox with search
  10. Read Also:  How to pass vuejs id attributes using bootstrap popup modal

Leave a Comment

Your email address will not be published. Required fields are marked *