add json func

This commit is contained in:
2022-04-03 09:04:24 +03:00
parent 909cd73762
commit a42013753a
39 changed files with 83 additions and 0 deletions

6
~/CSS/README.md Normal file
View File

@@ -0,0 +1,6 @@
# CSS
- [`@font-face`](font-face.css) - пример добавления шрифта из файла
- [Pixel Art](pixel-art.css) - настройки для рендера Pixel Art на `canvas`
- [Список без точек](ul-remove-bullets.css) - убираем точки (bullet) в списках
- [BG Image cover](back-image-cover.css) - Фоновое изображение по центру

View File

@@ -0,0 +1,8 @@
body{
margin: 0px;
height: 100vh;
background-image: url('../img/landing.jpg');
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
}

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 */
}

7
~/CSS/pixel-art.css Normal file
View File

@@ -0,0 +1,7 @@
canvas {
image-rendering: crisp-edges;
image-rendering: pixelated;
}
/* JavaScript */
/* context.imageSmoothingEnabled = false; */

View File

@@ -0,0 +1,3 @@
ul {
list-style-type: none;
}