forked from GirlBossRush/ExampleBabelApp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
29 lines (25 loc) · 769 Bytes
/
app.css
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
/* Set the app attribute to your app's dash-delimited alias. */
cloudflare-app[app="example"] {
display: block;
font-weight: bold;
margin: .5em .2em;
outline: 1px dotted;
padding: .5em;
}
/* Use native elements when you'd like to inherit some styles from the page. */
cloudflare-app[app="example"] p {
text-indent: 0;
}
/* Use em units to scale elements for different inherited styles. */
cloudflare-app[app="example"] h1 {
font-size: 1.8em;
}
/* Use custom elements to avoid style inheritance. */
cloudflare-app[app="example"] example-button {
border: 1px solid;
}
/* Prefix classes with your app's alias to avoid style collisions. */
cloudflare-app[app="example"] .example-highlighted {
background-color: yellow;
outline: .2em solid yellow;
}