1+ @import url ('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@1,600&display=swap' );
2+
3+
4+
5+ * {
6+ margin : 0px ;
7+ box-sizing : border-box;
8+ }
9+ body {
10+ font-family : 'Nunito Sans' , sans-serif;
11+ overflow : hidden;
12+ }
13+
14+ .outer {
15+ display : flex;
16+ align-items : center;
17+ justify-content : center;
18+ height : 100vh ;
19+ width : 100vw ;
20+ }
21+ .outer .hover-left .left {
22+ width : 75% ;
23+ }
24+
25+ .outer .hover-left .right {
26+ width : 25% ;
27+ }
28+
29+ .outer .hover-right .right {
30+ width : 75% ;
31+ }
32+ .outer .hover-right .left {
33+ width : 25% ;
34+ }
35+
36+
37+ /* ----------------------------------------------------------Left (PS5)---------------------------------------------------- */
38+
39+ .left {
40+ height : inherit;
41+ width : 50% ;
42+ transition : all 1.3s ease;
43+ background : rgba (80 , 60 , 240 , 0.6 );
44+ display : flex;
45+ justify-content : center;
46+ align-items : center;
47+ }
48+ .left ::before {
49+ content : '' ;
50+ position : absolute;
51+ left : 0 ;
52+ top : 0 ;
53+ height : inherit;
54+ width : inherit;
55+ background-image : url(./ Images/Ps5.png);
56+ background-repeat : no-repeat;
57+ background-size : auto 100% ;
58+ background-position : center ;
59+ z-index : -1 ;
60+ }
61+
62+
63+ /* ---------------------------------------------------Right---------------------------------------------- */
64+
65+ .right {
66+ height : inherit;
67+ width : 50% ;
68+ transition : all 1.3s ease;
69+ /* border-left: 2px solid black; */
70+ background : rgb (23 36 26 / 80% );
71+ display : flex;
72+ justify-content : center;
73+ align-items : center;
74+
75+ }
76+ .right ::before {
77+ content : '' ;
78+ position : absolute;
79+ right : 0 ;
80+ top : 0 ;
81+ height : inherit;
82+ width : inherit;
83+ background-image : url(./ Images/grp2.jpg);
84+ background-repeat : no-repeat;
85+ background-size : auto 100% ;
86+ background-position : center;
87+ z-index : -1 ;
88+ /* background-position: center; */
89+ }
90+ /* ------------------------------------------------------------------------------------------------ */
91+ a {
92+ opacity : 0 ;
93+ text-decoration : none;
94+ list-style : none;
95+ color : white;
96+ font-size : 30px ;
97+ text-transform : uppercase;
98+ padding : 20px 20px ;
99+ border : 3px solid white;
100+ transition : all 1.3s ease;
101+ }
102+
103+
104+ .outer .hover-right .right a {
105+ opacity : 1 ;
106+ }
107+
108+
109+ .outer .hover-left .left a {
110+ opacity : 1 ;
111+ }
0 commit comments