We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7e4d31 commit 0a1de1dCopy full SHA for 0a1de1d
README.md
@@ -102,6 +102,29 @@ Define a custom font. All modern browsers support WOFF2.
102
}
103
```
104
105
+## Responsive design
106
+
107
+Every webpage should look good on desktop, tablet and mobile.
108
109
+```css
110
+/* Mobile */
111
+.box {
112
+ padding: 10px;
113
+}
114
+/* Tablet */
115
+@media screen and (min-width: 768px) {
116
+ .box {
117
+ padding: 40px;
118
+ }
119
120
+/* Desktop */
121
+@media screen and (min-width: 1024px) {
122
123
+ padding: 80px;
124
125
126
+```
127
128
## Line clamp
129
130
Like `text-overflow: ellipsis`, but for multiple lines.
0 commit comments