{"id":9072,"date":"2021-10-21T22:27:22","date_gmt":"2021-10-21T19:27:22","guid":{"rendered":"https:\/\/elzero.org\/?p=9072"},"modified":"2022-09-28T18:14:51","modified_gmt":"2022-09-28T15:14:51","slug":"tutorials-typewriter-effects-with-pure-css","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/tutorials-typewriter-effects-with-pure-css\/","title":{"rendered":"Typewriter Effects With Pure CSS"},"content":{"rendered":"<h3>\u0627\u0644 Code<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-html\">\r\n<p>Welcome To Elzero Web School<\/p>\r\n<\/script>\r\n\r\n<script type=\"text\/plain\" class=\"language-css\">\r\n:root {\r\n  --main-color: rgb(255 255 255 \/ 80%);\r\n}\r\n* {\r\n  box-sizing: border-box;\r\n}\r\nbody {\r\n  font-family: \"Trebuchet MS\", \"Lucida Sans Unicode\", sans-serif;\r\n  background-color: #333;\r\n}\r\np {\r\n  color: var(--main-color);\r\n  font-size: 30px;\r\n  width: 418px; \/* You Can Use 28ch *\/\r\n  margin: 30px auto;\r\n  border-right: 2px solid var(--main-color);\r\n  overflow: hidden;\r\n  white-space: nowrap;\r\n  animation: control-width 3s steps(28) 2s both, blink 0.5s infinite;\r\n}\r\n@keyframes control-width {\r\n  from {\r\n    width: 0;\r\n  }\r\n  to {\r\n    width: 418px;\r\n  }\r\n}\r\n@keyframes blink {\r\n  from {\r\n    border-right-color: var(--main-color);\r\n  }\r\n  to {\r\n    border-right-color: transparent;\r\n  }\r\n}\r\n<\/script>\r\n\r\n<h3>\u0645\u0644\u062d\u0648\u0638\u0629<\/h3>\r\n\r\n<div class=\"text\">\r\n\u064a\u0645\u0643\u0646\u0643 \u0625\u0633\u062a\u062e\u062f\u0627\u0645 \u0648\u062d\u062f\u0629 \u0627\u0644\u0642\u064a\u0627\u0633 ch\r\n<\/div>","protected":false},"excerpt":{"rendered":"<p>\u0627\u0644 Code \u0645\u0644\u062d\u0648\u0638\u0629 \u064a\u0645\u0643\u0646\u0643 \u0625\u0633\u062a\u062e\u062f\u0627\u0645 \u0648\u062d\u062f\u0629 \u0627\u0644\u0642\u064a\u0627\u0633 ch<\/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":[],"class_list":["post-9072","post","type-post","status-publish","format-standard","hentry","category-front-end-tutorials"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/9072","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=9072"}],"version-history":[{"count":3,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/9072\/revisions"}],"predecessor-version":[{"id":9075,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/9072\/revisions\/9075"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=9072"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=9072"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=9072"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}