start
This commit is contained in:
4
CSS/README.md
Normal file
4
CSS/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# CSS
|
||||
|
||||
- [`@font-face`](font-face.css)
|
||||
- [Pixel Art](pixe-art.css)
|
||||
8
CSS/font-face.css
Normal file
8
CSS/font-face.css
Normal file
@@ -0,0 +1,8 @@
|
||||
@font-face {
|
||||
font-family: 'MyWebFont';
|
||||
src: url('webfont.eot'); /* IE9 Compat Modes */
|
||||
src: url('webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
||||
url('webfont.woff') format('woff'), /* Modern Browsers */
|
||||
url('webfont.ttf') format('truetype'), /* Safari, Android, iOS */
|
||||
url('webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
|
||||
}
|
||||
4
CSS/pixel-art.css
Normal file
4
CSS/pixel-art.css
Normal file
@@ -0,0 +1,4 @@
|
||||
canvas {
|
||||
image-rendering: crisp-edges;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
Reference in New Issue
Block a user