File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 6
6
: root {
7
7
scroll-behavior : smooth;
8
8
}
9
+ html {
10
+ scroll-behavior : smooth;
11
+ }
9
12
.header {
10
13
min-height : 100vh ;
11
14
width : 100% ;
@@ -233,3 +236,25 @@ nav .fa{
233
236
.fa-heart-o {
234
237
color : # f44336 ;
235
238
}
239
+
240
+ /*--Scroll up Button--*/
241
+ .arrow-btn {
242
+ position : fixed;
243
+ bottom : 30px ;
244
+ right : 30px ;
245
+ z-index : 9 ;
246
+ }
247
+ .arrow-btn a {
248
+ height : 39px ;
249
+ width : 37px ;
250
+ text-align : center;
251
+ background : # 1b1b1b ;
252
+ display : block;
253
+ border-radius : 3px ;
254
+ cursor : pointer;
255
+ }
256
+ .arrow-btn a span {
257
+ color : # f2f2f2 ;
258
+ line-height : 39px ;
259
+ font-size : 25px ;
260
+ }
Original file line number Diff line number Diff line change 9
9
< link rel ="preconnect " href ="https://fonts.gstatic.com ">
10
10
< link href ="https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;600;700&display=swap " rel ="stylesheet ">
11
11
< link href ="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css " rel ="stylesheet ">
12
+ < script src ="https://kit.fontawesome.com/a076d05399.js "> </ script >
12
13
< title > Issue solver</ title >
13
14
</ head >
14
15
< body >
16
+ < div class ="arrow-btn ">
17
+ < a href ="# "> < span class ="fas fa-angle-up "> </ span > </ a >
18
+ </ div >
15
19
< section class ="header ">
16
20
< nav >
17
21
< a herf ="Landing_page.html "> < img src ="images/logo.jpg "> </ a >
You can’t perform that action at this time.
0 commit comments