<style type="text/css">
.portfolio-web
{
background: #f5f5f5;
padding: 20px 0;
}
.portfolio-container
{
margin: 40px 0;
}
.portfolio-tagline
{
font-family: 'Oswald', Arial, sans-serif;
font-size: 3em;
font-weight: 400;
text-transform: uppercase;
text-align: center;
margin: 30px 0;
}
.portfolio-item
{
background: white;
width: 100%;
height: 280px;
margin-top: 20px;
overflow: hidden;
position: relative;
vertical-align: top;
}
.portfolio-image
{
cursor: default;
}
.portfolio-image-one
{
width: 100%;
height: 200px;
}
.portfolio-info
{
background: white;
margin-top: 200px;
position: absolute;
left: 0;
top: 0;
height: 280px;
text-align: center;
text-decoration: none;
transition: all 0.5s ease;
}
.portfolio-item:hover > .portfolio-info
{
margin-top: 0;
text-decoration: none;
}
.portfolio-logo-one
{
width: 100%;
height: 80px;
vertical-align: middle;
}
.porfolio-brief-info
{
color: #33b5e5;
font: 20px 'Open Sans', Arial, sans-serif;
margin: 0;
padding: 10px;
position: absolute;
}
.portfolio-info-link
{
color: white;
font: 14px 'Open Sans', Arial, sans-serif;
padding: 10px;
padding-top: 100px;
font-weight: bold;
}
img{
width: 400px;
height: 400px;
}
</style>
<div class="col-lg-3">
<div class="portfolio-item">
<a class="portfolio-image" href="#">
<div class="portfolio-image-one">
<img src="wall.jpg" alt="Thumbnail" />
</div>
</a>
<a class="portfolio-info" href="#">
<div class="portfolio-logo-one">
<img src="Rangoli.png" alt="Logo" />
</div>
<p class="porfolio-brief-info">
Next Year My Rangoli Target...!!
</p>
<p class="portfolio-info-link">By: MaHii</p>
</a>
</div>
</div>
Output :)
1)
2)
.portfolio-web
{
background: #f5f5f5;
padding: 20px 0;
}
.portfolio-container
{
margin: 40px 0;
}
.portfolio-tagline
{
font-family: 'Oswald', Arial, sans-serif;
font-size: 3em;
font-weight: 400;
text-transform: uppercase;
text-align: center;
margin: 30px 0;
}
.portfolio-item
{
background: white;
width: 100%;
height: 280px;
margin-top: 20px;
overflow: hidden;
position: relative;
vertical-align: top;
}
.portfolio-image
{
cursor: default;
}
.portfolio-image-one
{
width: 100%;
height: 200px;
}
.portfolio-info
{
background: white;
margin-top: 200px;
position: absolute;
left: 0;
top: 0;
height: 280px;
text-align: center;
text-decoration: none;
transition: all 0.5s ease;
}
.portfolio-item:hover > .portfolio-info
{
margin-top: 0;
text-decoration: none;
}
.portfolio-logo-one
{
width: 100%;
height: 80px;
vertical-align: middle;
}
.porfolio-brief-info
{
color: #33b5e5;
font: 20px 'Open Sans', Arial, sans-serif;
margin: 0;
padding: 10px;
position: absolute;
}
.portfolio-info-link
{
color: white;
font: 14px 'Open Sans', Arial, sans-serif;
padding: 10px;
padding-top: 100px;
font-weight: bold;
}
img{
width: 400px;
height: 400px;
}
</style>
<div class="col-lg-3">
<div class="portfolio-item">
<a class="portfolio-image" href="#">
<div class="portfolio-image-one">
<img src="wall.jpg" alt="Thumbnail" />
</div>
</a>
<a class="portfolio-info" href="#">
<div class="portfolio-logo-one">
<img src="Rangoli.png" alt="Logo" />
</div>
<p class="porfolio-brief-info">
Next Year My Rangoli Target...!!
</p>
<p class="portfolio-info-link">By: MaHii</p>
</a>
</div>
</div>
Output :)
1)
2)
No comments:
Post a Comment