File tree 3 files changed +115
-0
lines changed
3 files changed +115
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ # Bubble cards Effect
3
+ using the power of amazing css animation transition effect ...giving an awesome info cards of employees of the firm
4
+
5
+ ## 🚀 About Me
6
+ I'm a full stack developer...you can follow me here -https://github.com/RAHULBAWA777
7
+
8
+
9
+ ## Run Locally
10
+
11
+ Clone the project
12
+
13
+
14
+ Start the live server
15
+
16
+
17
+ ## Used By
18
+
19
+ This project is used by the following companies:
20
+
21
+ - https://github.com/Dezenix/frontend-html-css-js
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
6
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
7
+ < title > Bubble cards Effect</ title >
8
+ < link rel ="stylesheet " href ="style.css ">
9
+ </ head >
10
+ < body >
11
+ < div class ="container ">
12
+ < div class ="im "> < img src ="https://i.pinimg.com/736x/2f/6d/81/2f6d81174f979af46da836c40168bac2.jpg " alt =""> </ div >
13
+ < h1 > Alex</ h1 >
14
+ < p > FullStack Developer</ p >
15
+ </ div >
16
+ < div class ="container ">
17
+ < div class ="im "> < img src ="https://www.zdnet.com/a/img/resize/aac49353de2eaf5b9440f116fb8e35baa3ad1bfc/2021/07/16/7ceefbea-ef33-4ff7-b1a4-f23a0d7ffb82/software-engineering-shutterstock-795758674.jpg?width=1200&height=1200&fit=crop&auto=webp " alt =""> </ div >
18
+ < h1 > Riya</ h1 >
19
+ < p > UI/UX Designer</ p >
20
+ </ div >
21
+ < div class ="container ">
22
+ < div class ="im "> < img src ="https://www.imagesplatform.com/mohsin_site/uploads/2022_02_28/boy-in-yellow-shirt-dp.jpg " alt =""> </ div >
23
+ < h1 > Vikram</ h1 >
24
+ < p > Software Engg.</ p >
25
+ </ div >
26
+ </ body >
27
+ </ html >
Original file line number Diff line number Diff line change
1
+ * {
2
+ margin : 0 ;
3
+ padding : 0 ;
4
+ box-sizing : border-box;
5
+ font-family : 'Poppins' , sans-serif;
6
+ }
7
+ body {
8
+ display : flex;
9
+ justify-content : center;
10
+ align-items : center;
11
+ height : 100vh ;
12
+ background-color : rgb (29 , 28 , 28 );
13
+ }
14
+ .container {
15
+ position : relative;
16
+ width : 400px ;
17
+ height : 400px ;
18
+ margin : 40px ;
19
+ display : flex;
20
+ justify-content : center;
21
+ align-items : center;
22
+ flex-direction : column;
23
+ cursor : pointer;
24
+ transition : all .9s ;
25
+ color : white;
26
+ }
27
+ .im img {
28
+ position : absolute;
29
+ width : 100px ;
30
+ border-radius : 50% ;
31
+ top : 30px ;
32
+ left : 40% ;
33
+ }
34
+
35
+ .container : hover {
36
+ color : white;
37
+ }
38
+ .container ::before , .container ::after {
39
+ content : '' ;
40
+ position : absolute;
41
+ top : 0 ;
42
+ left : 0 ;
43
+ width : 100% ;
44
+ height : 100% ;
45
+ background : rgb (0 , 0 , 0 );
46
+ transition : all .9s ;
47
+ border-radius : 20px ;
48
+ z-index : -10 ;
49
+ }
50
+ .container ::after {
51
+ background : # 4897f8 ;
52
+ transition : all .9s ;
53
+ border-radius : 50% ;
54
+ transform : translate (-80% , -80% ) scale (0.3 );
55
+ transform-origin : right bottom;
56
+ }
57
+ .container : hover ::after {
58
+ transform : translate (0 ) scale (1 );
59
+ border-radius : 0 ;
60
+ }
61
+ .container : hover ::before {
62
+ transform-origin : right bottom;
63
+ border-radius : 50% ;
64
+ transform : translate (10% , 10% ) scale (0.3 );
65
+ z-index : 10 ;
66
+ }
67
+
You can’t perform that action at this time.
0 commit comments