Created
August 7, 2015 02:03
-
-
Save kasperpeulen/5775a73e55f36bbcd9d2 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
| <!-- 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. | |
| --> | |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>A Minimalist App</title> | |
| <link rel="stylesheet" href="styles.css"> | |
| </head> | |
| <body> | |
| <p id="RipVanWinkle"> | |
| RipVanWinkle paragraph. | |
| </p> | |
| <script type="application/dart" src="main.dart"></script> | |
| <script src="packages/browser/dart.js"></script> | |
| </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