-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.alloy
31 lines (27 loc) · 840 Bytes
/
sample.alloy
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
29
30
31
// vim: set syntax=c :
// DOCTYPE html
html.h-100 {
head {
meta(charset: UTF-8);
link(
rel: stylesheet,
href: "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
);
style "
.h-100 {
height: 100%
}
"
}
body {
p(x:'noob') 'hello world'
p(a: true, b: false);
p.pretty(a: true, b: false) "everything is nice"
div#header.w-100(style: "height: 48px; margin-top: 8px") {
// ________ <- Note how the opening and closing parens are still getting counted
img(src: ../ressources/icon.png, onclick: goto('home'));
h2.color-green { "Graphmasters" }
input(type: "text");
}
}
}