css example
This commit is contained in:
parent
5f45876bc5
commit
cefa8407ca
3
examples/hello-css.css
Normal file
3
examples/hello-css.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
h1 {
|
||||||
|
background: blue
|
||||||
|
}
|
8
examples/hello-css.rkt
Normal file
8
examples/hello-css.rkt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#lang planet dyoo/whalesong/base
|
||||||
|
(require (planet dyoo/whalesong/web-world)
|
||||||
|
(planet dyoo/whalesong/resource))
|
||||||
|
|
||||||
|
(define-resource "hello-css.css")
|
||||||
|
(define-resource "hello-css-main.html")
|
||||||
|
|
||||||
|
(big-bang 0 (initial-view hello-css-main.html))
|
Loading…
Reference in New Issue
Block a user