Skip to content

Commit

Permalink
Say hello in css 🎨
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcsally committed Feb 10, 2020
1 parent 808bcaa commit 5df2c6c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ Just me writing "hello, world!" in as many languages as I can

- [ ] c#
- [ ] c++
- [ ] css
- [ ] coffeescript
- [ ] elixir
- [ ] java
Expand Down
8 changes: 8 additions & 0 deletions css/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
:root {
--name: "world"
}

#hello-world::after {
content: "hello, " var(--name) "!";
color: black;
}
9 changes: 9 additions & 0 deletions css/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>hello, css!</title>
</head>
<body>
<div id="hello-world"></div>
</body>
</html>

0 comments on commit 5df2c6c

Please sign in to comment.