File tree 2 files changed +58
-4
lines changed
2 files changed +58
-4
lines changed Original file line number Diff line number Diff line change 13
13
.attribution { font-size : 11px ; text-align : center; }
14
14
.attribution a { color : hsl (228 , 45% , 44% ); }
15
15
</ style >
16
+
17
+ < link rel ="stylesheet " href ="style.css ">
16
18
</ head >
17
19
< body >
18
-
19
- Improve your front-end skills by building projects
20
-
21
- Scan the QR code to visit Frontend Mentor and take your coding skills to the next level
22
20
21
+ < div class ="card ">
22
+ < img src ="C:\Users\Saurabh\code\Frontend-Mentor\qr-code-component\images\image-qr-code.png " alt ="" >
23
+ < h2 > Improve your front-end skills by building projects</ h2 >
24
+ < p > Scan the QR code to visit Frontend Mentor and take your coding skills to the next level</ p >
25
+ </ div >
26
+
23
27
< div class ="attribution ">
24
28
Challenge by < a href ="https://www.frontendmentor.io?ref=challenge " target ="_blank "> Frontend Mentor</ a > .
25
29
Coded by < a href ="# "> Your Name Here</ a > .
Original file line number Diff line number Diff line change
1
+ @import url ('https://fonts.googleapis.com/css2?family=Outfit&display=swap' );
2
+
3
+ : root {
4
+ /* Colors */
5
+ --White : hsl (0 , 0% , 100% ) ;
6
+ --Light_gray : hsl (212 , 45% , 89% ) ;
7
+ --Grayish_blue : hsl (220 , 15% , 55% ) ;
8
+ --Dark_blue : hsl (218 , 44% , 22% ) ;
9
+ }
10
+
11
+ html , body {
12
+ width : 100% ;
13
+ height : 100% ;
14
+ margin : 0 ;
15
+ padding : 0 ;
16
+ text-align : center;
17
+ font-family : 'Outfit' , sans-serif;
18
+ font-size : 15px ;
19
+ }
20
+
21
+ body {
22
+ background-color : var (--Light_gray );
23
+ display : flex ;
24
+ flex-direction : column ;
25
+ align-items : center ;
26
+ justify-content : center ;
27
+ position : relative ;
28
+ }
29
+
30
+ .card {
31
+ background-color : var (--White );
32
+ max-width : 300px ;
33
+ padding : 20px ;
34
+ border-radius : 15px ;
35
+ align-self : center ;
36
+ }
37
+
38
+ .card img {
39
+ width : 100% ;
40
+ border-radius : 15px ;
41
+ }
42
+
43
+ .card p {
44
+ color : var (--Grayish_blue ) ;
45
+ }
46
+
47
+ .attribution {
48
+ position : absolute ;
49
+ bottom : 0 ;
50
+ }
You can’t perform that action at this time.
0 commit comments