Skip to content

Commit c8dd701

Browse files
author
Federico Zivolo
committed
docs: update demo
1 parent 099eb5a commit c8dd701

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

docs/index.html

Lines changed: 17 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,25 @@
11
<!DOCTYPE html>
2+
23
<html>
34
<head>
45
<title>Example</title>
6+
<meta charset="utf-8" />
57
<style>
6-
body {
7-
font-family: Helvetica Neue, Helvetica, Segoe UI, Ubuntu, Arial, sans-serif;
8-
}
9-
.example {
10-
background-color: rebeccapurple;
11-
height: 100px;
12-
width: 100%;
13-
color: white;
14-
transition: 1s all ease-in-out;
15-
}
16-
.example:hover {
17-
height: 200px;
18-
width: 80vw;
19-
}
8+
body {
9+
font-family: Helvetica Neue, Helvetica, Segoe UI, Ubuntu, Arial,
10+
sans-serif;
11+
}
12+
.example {
13+
background-color: rebeccapurple;
14+
height: 100px;
15+
width: 100%;
16+
color: white;
17+
transition: 1s all ease-in-out;
18+
}
19+
.example:hover {
20+
height: 200px;
21+
width: 80vw;
22+
}
2023
</style>
2124
</head>
2225
<body>

docs/react-resize-aware.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)