Last active
September 9, 2015 17:06
-
-
Save Sfshaza/ff2ccfff828813c34ffc to your computer and use it in GitHub Desktop.
mini_with_style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<!-- | |
Copyright (c) 2012, the Dart project authors. | |
Please see the AUTHORS file for details. | |
All rights reserved. Use of this source code is | |
governed by a BSD-style license that can be found | |
in the LICENSE file. | |
--> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>A Minimalist App</title> | |
<script async type="application/dart" src="main.dart"></script> | |
<script async src="packages/browser/dart.js"></script> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<p id="RipVanWinkle"> | |
RipVanWinkle paragraph. | |
</p> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'dart:html'; | |
void main() { | |
querySelector('#RipVanWinkle').text = 'Wake up, sleepy head!'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#RipVanWinkle { | |
font-size: 20px; | |
font-family: 'Open Sans', sans-serif; | |
text-align: center; | |
margin-top: 20px; | |
background-color: SlateBlue; | |
color: Yellow; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment