Skip to main content

Image Hover Effect Html /Css without javascript

 index.html


Image Hover Effect FEHtml /Css  without javascript !

<div class="pola1">
 </div>


 <div class="container">
 <h2>WEB HOSTING</h2>
<p>homeless father who raised and cared for his son on the mean streets of San Francisco
and went on to become a crown prince of 50% Discount</p> <h3> <del>$700 <del> 500$
 </br></h3>
  </div>


 <div class="container">
 <h2>SERVICES</h2>
<p>homeless father who raised and cared for his son on the mean streets of San Francisco
and went on to become a crown prince of Discount</p> <h3> <del> <del>
 </br></h3>
  </div>


 <div class="container">
 <h2>DOMAIN NAME</h2>
<p>homeless father who raised and cared for his son on the mean streets of San Francisco
and went on to become a crown prince of Discount</p> <h3> <del>$900 <del> 600$
 </br></h3>
  </div>

 <div class="container">
 <h2>OFFERS</h2>
<p>homeless father who raised and cared for his son on the mean streets of San Francisco
and went on to become a crown prince of 20% Discount</p> LIMITED<h3> <del>$700 <del> 500$
 </br></h3>
  </div>

 <div class="container">
 <h2>SERVER</h2>
<p>homeless father who raised and cared for his son on the mean streets of San Francisco
and went on to become a crown prince of  TDiscountLL</p> <h3> <del> 80BIT </del> 45GB
 </br></h3>
  </div>

 <div class="container">
 <h2>50% OFF</h2>
<p>homeless father who raised and cared for his son on the mean streets of San Francisco
and went on to become a crown prince of 50% Discount</p> <h3> <del>$1000 <del> 500$
 </br></h3>
  </div>



<p>dISCRIPTION</p>
<textarea name="" id="" cols="20" rows="10"></textarea>




style.css

.pola{
margin-top: 50px;
background-image: url(https://images.pexels.com/photos/205316/pexels-photo-205316.png?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
background-color: cyan;
background-attachment: fixed;
}

.pola1{
background-image: url(https://images.pexels.com/photos/60504/security-protection-anti-virus-software-60504.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
width: 100%;
height: 100vh;
background-size: cover;
background-position: center;
background-color: cyan;
background-attachment: fixed;
}
.container{
float: left;
text-align: center;
margin: 50px;
width: 270px;
height: 170px;
padding: 30px;
background-color: #fff;
border: 1px solid #ccc;
}
.container:hover{
    background-image: url(https://images.pexels.com/photos/129208/pexels-photo-129208.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940);
width: 270px;
height: 170px;
background-size: cover;
background-position: center;
box-shadow: 3px 4px 6px #000;
color: #fff;
}

.container1{
background-attachment: fixed;
width: 100%;
height: 59px;
background-color: #555;
}


Before without any hover effect -----------------------
Image Hover Effect FEHtml /Css  without javascript !

After hover effect--------------------

Comments

Popular posts from this blog

html button link Download Pdf

  HTML  button link  Html  1. Html button link is a way of direct visite from the site threw with the Button.html button link connect with html related data by the button link that interconnected with the button, & interlinking of land from are giving in button. 2021 A clickable button is marked up as follows: <button type="button">Click Me!</button> These button generate a pop-up of button using HTML <!DOCTYPE html> <html> <body> <h1>button Element</h1> <button type="button" onclick="alert('html button link ')">Click Me!</button>   </body> </html> If you want to check this code, then copy the code from simple and use any notepad in laptop (pc) and paste the html code into the notepad. And by clicking on the save button, save the file index.html name and yes. Use the html extension, otherwise the file will not be saved.Even if it is, it will be only in simple text, when yo

html tags for images what are html tags

Html tags for images|html tags images|what are html tags |html tags header |html tags bold| html tags for list |what are the html tags  html tags for images, what are html tags,html tags header,html tags bold,html tags for list, what are tags in html,what are html tags,html tags images Html tags for images| Html tags images Definition and Usage  Image The <img> tags basically is used to embed an image in an HTML page and using for linking of images sources of an URL it's work to connect with image those URL will be Insert inside between <img> tag. It's  Running Example. < img src=""> <img src="insert the URL of the image"> <img src=" (https:// images.psdhtml.pro/photos/-Sun-364659.jpg ) "> This tag to using for if programmer used  URL of images. <img src=" img_Sun. jpg " alt="sun like a sunshine" width=" 600 " height=" 800 " > This tage to using for if programmer used imag

[Download] HTML tags list with examples HTML Reference

[Download] HTML tags list with examples HTML Reference  HTML tags List and attributes Basic html tags- those Must we important in Html coding   < !doctype html> defines the html documents type. < title> Defines a title for the document. < body> Defines the document's body < h1> <h2> <h3> <h4> <h5>  to <h6> headder tags Defines HTML headings. < p> using for paragraph heading. < div> for closing codding. < head>  <header>  <html> Types of HTML tags, HTML tags list < ul> Defines an unordered list < ol> Defines an ordered list < li> Defines a list item <dl> Defines a description list < dt> Defines a term in a description list < dd> Describes the term in a description list <address> <article> <aside> <blockquote> <canvas> <dd> <div> <dl> <dt> <fieldset> <figcaption> <figure> <footer&