Friday, November 19, 2021
Saturday, July 10, 2021
Angular
On this page, I will write some important code and tips for angular and related stuff.
1. What is Angular?
=> Angular is the Front-End Framework in JavaScript. With the help of Angular, we can make lightweight projects with Single page UI without reloading the projects.
2. Difference Between Angular and Angular.js?
Saturday, May 15, 2021
Sunday, December 20, 2020
Best OUR teams responsive cards
HTML code of this responsive our teams card :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Out-teams-designs</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-
awesome.min.css">
</head>
<body>
<section>
<div class="container slider">
<div class="card">
<div class="content">
<div class="imgBx"><img src="Images/tmemb1.jpg" alt=""></div>
<div class="contentBx">
<h3>Someone Famous <br> <span>creative designer</span></h3>
</div>
</div>
<ul class="sci">
<li style="--i:1">
<a href="#"><i class="fa fa-facebook"></i></a>
</li>
<li style="--i:2">
<a href="#"><i class="fa fa-instagram"></i></a>
</li>
<li style="--i:3">
<a href="#"><i class="fa fa-twitter"></i></a>
</li>
</ul>
</div>
<div class="card">
<div class="content">
<div class="imgBx"><img src="Images/tmemb2.jpg" alt=""></div>
<div class="contentBx">
<h3>Someone Famous <br> <span>creative designer</span></h3>
</div>
</div>
<ul class="sci">
<li style="--i:1">
<a href="#"><i class="fa fa-facebook"></i></a>
</li>
<li style="--i:2">
<a href="#"><i class="fa fa-instagram"></i></a>
</li>
<li style="--i:3">
<a href="#"><i class="fa fa-twitter"></i></a>
</li>
</ul>
</div>
<div class="card">
<div class="content">
<div class="imgBx"><img src="Images/tmemb3.jpg" alt=""></div>
<div class="contentBx">
<h3>Someone Famous <br> <span>creative designer</span></h3>
</div>
</div>
<ul class="sci">
<li style="--i:1">
<a href="#"><i class="fa fa-facebook"></i></a>
</li>
<li style="--i:2">
<a href="#"><i class="fa fa-instagram"></i></a>
</li>
<li style="--i:3">
<a href="#"><i class="fa fa-twitter"></i></a>
</li>
</ul>
</div>
</div>
</section>
</body>
</html>
CSS for this file :
'
* {
margin: 0px;
padding: 0px;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
background: #161623;
min-height: 100vh;
}
section {
position: relative;
}
section::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(#f00, #f0f);
clip-path: circle(30% at right 90%);
}
section::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(#2196f3, #e91e63);
clip-path: circle(20% at 5% 5%);
}
.container {
position: relative;
z-index: 1;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
margin: 40px 0px;
}
.container .card {
position: relative;
width: 300px;
height: 400px;
background: rgba(255, 255, 255, 0.05);
margin: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
display: flex;
justify-content: center;
align-items: center;
backdrop-filter: blur(10px);
}
.container .card .content {
position: relative;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
opacity: 0.5;
transition: 0.5;
}
.container .card:hover .content {
opacity: 1;
transform: translateY(-20px);
}
.container .card .content .imgBx {
position: relative;
width: 150px;
height: 150px;
border-radius: 50%;
overflow: hidden;
border: 10px solid rgba(0, 0, 0, 0.25);
}
.container .card .content .imgBx img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* object-fit: contain; */
}
.container .card .content .contentBx h3 {
color: #fff;
text-transform: uppercase;
letter-spacing: 2px;
font-weight: 1000;
font-size: 20px;
text-align: center;
margin: 20px 0 10px;
line-height: 1.1rem;
}
.container .card .content .contentBx h3 span {
font-size: 14px;
font-weight: 500px;
text-transform: capitalize;
}
.container .card .sci {
position: absolute;
bottom: 50px;
display: flex;
}
.container .card .sci li {
list-style: none;
margin-left: 10px;
transform: translateY(40px);
transition: 0.5s;
opacity: 0;
transition-delay: calc(0.1s * var(--i));
}
.container .card:hover .sci li {
transform: translateY(0px);
opacity: 1;
}
.container .card .sci li a {
color: #fff;
font-size: 24px;
}
IMAGES:
RESPONSIVE CARDS
These are awesome and responsive cards .
HTML code:<!DOCTYPE html><html><head><meta name="viewport" content="width=device-width, initial-scale=1"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"><link rel="stylesheet" href="style.css"></head><body><div class="row"> <div class="column"> <div class="card"> <img src="1.jpg" style="width:150px;height:auto;padding-top:10px"> <h1>Json watson</h1> <p class="title">CEO & Founder</p> <p>Oxford university</p> <a href="#"><i class="fa fa-instagram"></i></a> <a href="#"><i class="fa fa-twitter"></i></a> <a href="#"><i class="fa fa-dribbble"></i></a> <a href="#"><i class="fa fa-facebook"></i></a> <p><button>Contact</button></p> </div> </div>
<div class="column"> <div class="card"> <img src="3.jpg" style="width:150px;height:auto;padding-top:10px"> <h1>Jon watson</h1> <p class="title">CEO & Founder</p> <p>Oxford university</p> <a href="#"><i class="fa fa-instagram"></i></a> <a href="#"><i class="fa fa-twitter"></i></a> <a href="#"><i class="fa fa-dribbble"></i></a> <a href="#"><i class="fa fa-facebook"></i></a> <p><button>Contact</button></p> </div> </div>
<div class="column"> <div class="card"> <img src="2.png" style="width:150px;height:auto;padding-top:10px"> <h1>Nick watson</h1> <p class="title">CEO & Founder</p> <p>Oxford university</p> <a href="#"><i class="fa fa-instagram"></i></a> <a href="#"><i class="fa fa-twitter"></i></a> <a href="#"><i class="fa fa-dribbble"></i></a> <a href="#"><i class="fa fa-facebook"></i></a> <p><button>Contact</button></p> </div> </div>
<div class="column"> <div class="card"> <img src="4.png" style="width:150px;height:auto;padding-top:10px"> <h1>Joy watson</h1> <p class="title">CEO & Founder</p> <p>Oxford university</p> <a href="#"><i class="fa fa-instagram"></i></a> <a href="#"><i class="fa fa-twitter"></i></a> <a href="#"><i class="fa fa-dribbble"></i></a> <a href="#"><i class="fa fa-facebook"></i></a> <p><button>Contact</button></p> </div> </div></div></body></html>
And the CSS code:
* { box-sizing: border-box;}
body { font-family: Arial, Helvetica, sans-serif; background-color: #70daa8;}
.column { width: 25%; float: left; padding: 100px 10px;}
.row:after { content: ""; display: table; clear: both;}
@media screen and (max-width:600px) { .column { width: 100%; display: block; margin-bottom: 20px; }}
.column .card { box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); max-width: 300px; margin: auto; margin-top: 50px; background-color: white; text-align: center; border-radius: 40px; padding-bottom: 15px;}
.title { color: gray; font-size: 18px;}
button { border: none; padding: 8px; display: inline-block; color: white; background-color: black; cursor: pointer; width: 70%; border-radius: 20px; font-size: 18px; text-align: center;}
a { text-decoration: none; font-size: 22px; color: black;}
a:hover,button:hover { opacity: 0.6;}
IMAGES:
For the code file and image file visit the Link
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="row">
<div class="column">
<div class="card">
<img src="1.jpg" style="width:150px;height:auto;padding-top:10px">
<h1>Json watson</h1>
<p class="title">CEO & Founder</p>
<p>Oxford university</p>
<a href="#"><i class="fa fa-instagram"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<p><button>Contact</button></p>
</div>
</div>
<div class="column">
<div class="card">
<img src="3.jpg" style="width:150px;height:auto;padding-top:10px">
<h1>Jon watson</h1>
<p class="title">CEO & Founder</p>
<p>Oxford university</p>
<a href="#"><i class="fa fa-instagram"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<p><button>Contact</button></p>
</div>
</div>
<div class="column">
<div class="card">
<img src="2.png" style="width:150px;height:auto;padding-top:10px">
<h1>Nick watson</h1>
<p class="title">CEO & Founder</p>
<p>Oxford university</p>
<a href="#"><i class="fa fa-instagram"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<p><button>Contact</button></p>
</div>
</div>
<div class="column">
<div class="card">
<img src="4.png" style="width:150px;height:auto;padding-top:10px">
<h1>Joy watson</h1>
<p class="title">CEO & Founder</p>
<p>Oxford university</p>
<a href="#"><i class="fa fa-instagram"></i></a>
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<p><button>Contact</button></p>
</div>
</div>
</div>
</body>
</html>
* {
box-sizing: border-box;
}
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #70daa8;
}
.column {
width: 25%;
float: left;
padding: 100px 10px;
}
.row:after {
content: "";
display: table;
clear: both;
}
@media screen and (max-width:600px) {
.column {
width: 100%;
display: block;
margin-bottom: 20px;
}
}
.column .card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 300px;
margin: auto;
margin-top: 50px;
background-color: white;
text-align: center;
border-radius: 40px;
padding-bottom: 15px;
}
.title {
color: gray;
font-size: 18px;
}
button {
border: none;
padding: 8px;
display: inline-block;
color: white;
background-color: black;
cursor: pointer;
width: 70%;
border-radius: 20px;
font-size: 18px;
text-align: center;
}
a {
text-decoration: none;
font-size: 22px;
color: black;
}
a:hover,
button:hover {
opacity: 0.6;
}