This commit is contained in:
2021-11-15 02:50:46 +03:00
parent 39704489b8
commit e4c0f96c74
8 changed files with 101 additions and 0 deletions

4
CSS/README.md Normal file
View File

@@ -0,0 +1,4 @@
# CSS
- [`@font-face`](font-face.css)
- [Pixel Art](pixe-art.css)

8
CSS/font-face.css Normal file
View 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
View File

@@ -0,0 +1,4 @@
canvas {
image-rendering: crisp-edges;
image-rendering: pixelated;
}