{"id":10377,"date":"2022-04-14T01:02:40","date_gmt":"2022-04-13T22:02:40","guid":{"rendered":"https:\/\/elzero.org\/?p=10377"},"modified":"2022-09-28T18:28:58","modified_gmt":"2022-09-28T15:28:58","slug":"tutorials-mix-blend-loading","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/tutorials-mix-blend-loading\/","title":{"rendered":"Mix Blend Loading"},"content":{"rendered":"<h3>\u0627\u0644 Code<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-html\">\r\n<div>\r\n  <span>Loading<\/span>\r\n<\/div>\r\n<\/script>\r\n\r\n<script type=\"text\/plain\" class=\"language-css\">\r\n* {\r\n  box-sizing: border-box;\r\n}\r\nbody {\r\n  margin: 0;\r\n  font-family: \"Cairo\", sans-serif;\r\n  background-color: black;\r\n}\r\ndiv {\r\n  position: absolute;\r\n  left: 50%;\r\n  top: 50%;\r\n  transform: translate(-50%, -50%);\r\n  color: white;\r\n}\r\ndiv span {\r\n  font-size: 80px;\r\n  letter-spacing: 5px;\r\n  text-transform: uppercase;\r\n  line-height: 1;\r\n  mix-blend-mode: difference;\r\n}\r\ndiv::before {\r\n  content: \"\";\r\n  position: absolute;\r\n  left: 0;\r\n  top: 0;\r\n  width: 100px;\r\n  height: 100%;\r\n  background-color: white;\r\n  animation: move 4s linear infinite;\r\n}\r\n@keyframes move {\r\n  0%,\r\n  100% {\r\n    left: 0;\r\n  }\r\n  50% {\r\n    left: calc(100% - 100px);\r\n  }\r\n}\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u0627\u0644 Code<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[879],"tags":[1129,107,220,253,381,1131,1130],"class_list":["post-10377","post","type-post","status-publish","format-standard","hentry","category-front-end-tutorials","tag-blend","tag-code","tag-css","tag-design","tag-front-end","tag-mix","tag-mode"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/10377","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/comments?post=10377"}],"version-history":[{"count":1,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/10377\/revisions"}],"predecessor-version":[{"id":10379,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/10377\/revisions\/10379"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=10377"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=10377"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=10377"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}