Blog

This blog is for everybody that loves technology

Box Hover in HTML CSS with Source code

Our Team Div Hover Effect in HTML and CSS

Box Hover in HTML CSS

In this article, I am going to tell you how you can create a very beautiful Box Hover Effect in HTML and CSS with simple steps. you just need to write a simple code of text to create this HTML Box Hover Effect in HTML and CSS. We will use in this code HTML and simple internal CSS.

first of all, you have to create a folder, where you want to create a save file of code and then drag it or open it on your text editor, after that, you have to save this file by giving any name with the extension name .html.

after saved this file, you just write a simple structure of HTML and create content and follow the code which is given below.


Queries Solved:-

best computer center in tohana,computer center in tohana, best institute in tohana,creative networks tohana,website designing,web design in tohana,creative,networks,o-level computer course,tohana best institute,creative networks computer center, html,html tutorial,html5,learn html,html tutorial for beginners,html css,html course,html for beginners,html css tutorial,html,html5 tutorial,introduction to html,html 5,html crash course,.html,html elements,html,html tags,html,html ,html за час,html leren,html за 1 час,html basics,html coding,html (programming language),html,html html  html,html nederlands,html, css,css tutorial,html css,css tips,css grid,css crash course,css for beginners,css course,learn css,css beginners,css tutorial for beginners,css,css 2020,css animation,css hindi,css 3,css preparation,css tricks,css em,css vh,css vw,3d css,css desde cero,css rem,css,css all,css transition,tutorial de css,css full course,css course for beginners,css 2021,учим css,grid css,css,css,css


<!DOCTYPE html>
<html>
<head>
<title>Div Hover Effect in HTML and CSS</title>
</head>
<style type="text/css">
*
{
margin: 0;
padding: 0;
}
body
{
width: 100vw;
height: 100vh;
background-color: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
}
.main
{
width: 350px;
height: 450px;
border-radius: 4px;
background-color: #face30;
background-image: url(a.png);
background-size: contain;
background-repeat: no-repeat;
position: relative;
background-position: center;
margin-right: 5px;
margin-left: 5px;
cursor: pointer;
}
.content
{
width: 90%;
height: 20%;
background-color: #fff;
position: absolute;
top: 400px;
left: 25px;
border-radius: 4px;
overflow: hidden;
transition: 0.5s;
text-align: center;
box-shadow: 0px 3px 4px 0px rgb(0 0 0 / 15%);
}
.content h1
{
color: #000;
font-family: arial;
font-size: 25px;
padding-top: 20px;
}
.content h6
{
color: #e33;
font-size: 14px;
font-family: arial;
padding-top: 10px;
}
.content p
{
font-family: arial;
color: grey;
line-height: 35px;
letter-spacing: 1px;
padding-top: 10px;
}
.main:hover .content
{
height: 55%;
top: 300px;
}
.a
{
background-image: url(b.png);
}
.b
{
background-image: url(c.png);
}
</style>
<body>
<div class="main">
<div class="content">
<h1>Patrick Cortez</h1>
<h6>Leader</h6>
<p>non numquam eius modi<br> tempora incidunt ut labore et<br> dolore magnam aliquam<br>quaerat voluptatem.</p>
</div>
</div>
<div class="main a">
<div class="content">
<h1>Gregory Powers</h1>
<h6>Gym coach</h6>
<p>non numquam eius modi<br> tempora incidunt ut labore et<br> dolore magnam aliquam<br>quaerat voluptatem.</p>
</div>
</div>
<div class="main b">
<div class="content">
<h1>Walter Wagner</h1>
<h6>Dance trainer</h6>
<p>non numquam eius modi<br> tempora incidunt ut labore et<br> dolore magnam aliquam<br>quaerat voluptatem.</p>
</div>
</div>
</body>
</html>



 

Here we completed our tutorial.

If you face any problem please feel free to contact us.

If you like our article please share it with your friends and relatives.

Thanks for reading our article.

How to Download and Install Window 11 for free [ 100% trick ]

Install Wamp Server Without Error – How Can Install Wamp Server In Windows 10 | Pc | Without Problem


Queries Solved:-

effects,how to create content box hover effects,image hover effects,css card hover effect,css hover tutorial,css card hover effects,image hover effects in html,css creative box hover effects,tohana,creativenetworks,best computer center in tohana,computer center in tohana, best institute in tohana,creative networks tohana,website designing,web design in tohana,creative,networks,o-level computer course,tohana best institute,creative networks computer center, beginners,html css tutorial,html,html5 tutorial,introduction to html,html 5,html crash course,.html,html elements,html,html tags,html,html ,html за час,html leren,html за 1 час,html basics,html coding,html (programming language),html,html html  html,html nederlands,html, css,css tutorial,html css,css tips,css grid,css crash course,css for beginners,css course,learn css,css beginners,css tutorial for beginners,css,css 2020,css animation,css hindi,css 3,css preparation,css tricks,css em,css vh,css vw,3d css,css desde cero,css rem,css,css all,css transition,tutorial de css,css full course,css course for beginners,css 2021,учим css,grid css,css,css,css

 

 

Share on facebook
Share on whatsapp
Share on twitter
Share on telegram
Share on email

Related Articals

WE CREATES WEBSITES

LEARN WEBSITE DESIGNING COURSE ONLINE

We will teach you html5, css3, photoshop, bootstrap, media query, wordpress, sql, php.

Sandeep Gahlot

My Recent Posts
Sponsor

O LEVEL COMPUTER COURSE

Categories
Scroll to Top