html
html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Upload content with Dropbox </title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.6.2/css/bulma.min.css">
<script src="https://code.jquery.com/jquery-3.1.1.js"></script>
</head>
<body>
<section class="hero is-fullheight is-info is-cover">
<div class="hero-body">
<div class="container has-text-centered">
<h1 class="title has-text-weight-light"> Upload content from your device to CodePlayground</h1>
<h3 class="subtitle has-text-weight-light"> The Dropbox way </h3>
<h3 class="subtitle has-text-weight-light"> <a href="#content"> Continue </a></h3>
</div>
</div>
<div class="hero-footer">
<div class="container">
<article class="media">
<div class="media-left" align="center">
<figure class="image is-64x64">
<img src="https://api.sololearn.com/Uploads/Avatars/4059723.jpg" class="is-profile-pic">
</figure>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@import url('https://fonts.googleapis.com/css?family=Julius+Sans+One');
@import url('https://fonts.googleapis.com/css?family=Open+Sans');
body {
background-color: #fffffff1;
font-family: 'Roboto', sans-serif;
}
br {
line-height: 50px;
}
code {
background: #f0f0f0;
}
h1, h2, h3 {
font-family: 'Julius Sans One', sans-serif;
text-transform: uppercase;
}
h2 {
padding: 2px 1px 1px 2px;
background-color: #f2f2f2;
border-left: 4px solid #03e9e975;
width: 100%;
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
$(function() {
$('a[href^="#"]').on('click', function(e) {
var $target = $(this.getAttribute('href'));
var $hero = $('.hero');
if($target.length) {
e.preventDefault();
$('html, body').stop().animate({
scrollTop: $target.offset().top
}, 1000);
//$hero.css('display', 'none');
}
});
});
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run