Skip to content

Commit e7ee317

Browse files
committed
Demo code css fixes
1 parent 0c6210e commit e7ee317

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
(function() {
22
const rectangleStyles = ["rect-slide", "rect-flip", "rect-move", "rect-hide"];
3+
34
const addSpan = ["flip", "fadeout", "slideall"];
45

56
const templateWithSpan = `

public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ <h4>rect-move</h4>
114114
</div>
115115
</div>
116116
</section>
117+
117118
<section id="rect-hide">
118119
<h4>rect-hide</h4>
119120
<div class="toggle-button-cover">
@@ -123,8 +124,6 @@ <h4>rect-hide</h4>
123124
</div>
124125
</section>
125126

126-
127-
128127
</div>
129128
<hr/>
130129
<h2>Custom Labels</h2>

public/styles.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body
1010

1111
.app-cover
1212
{
13-
width: 600px;
13+
width: 80%;
1414
margin: 80px auto;
1515
counter-reset: button-counter;
1616
}
@@ -28,6 +28,7 @@ body
2828
width: 200px;
2929
height: 140px;
3030
box-sizing: border-box;
31+
margin: 0 auto;
3132
}
3233

3334
.button-cover

0 commit comments

Comments
 (0)