{"id":14079,"date":"2023-11-29T20:48:50","date_gmt":"2023-11-29T17:48:50","guid":{"rendered":"https:\/\/elzero.org\/?p=14079"},"modified":"2023-11-29T20:48:50","modified_gmt":"2023-11-29T17:48:50","slug":"css-marker-pseudo-element","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/css-marker-pseudo-element\/","title":{"rendered":"CSS Marker Pseudo Element"},"content":{"rendered":"<h3>\u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062f\u0631\u0633<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-html\">\r\n<!-- \r\n  ::marker \r\n  Pseudo Element\r\n-->\r\n<ul>\r\n  <li>One<\/li>\r\n  <li>Two<\/li>\r\n  <li>Three<\/li>\r\n<\/ul>\r\n<\/script>\r\n\r\n<script type=\"text\/plain\" class=\"language-css\">\r\nul {\r\n  list-style: none;\r\n}\r\nul li {\r\n  background-color: #eee;\r\n  padding: 10px;\r\n  border-bottom: 2px solid white;\r\n  display: flex;\r\n  align-items: center;\r\n}\r\n\/* First Method *\/\r\nul li::before {\r\n  content: \"\\2022\";\r\n  color: red;\r\n  display: inline-flex;\r\n  margin-right: 10px;\r\n}\r\n\r\n\/* Second Method *\/\r\nul li::before {\r\n  content: \"\";\r\n  background-color: red;\r\n  width: 8px;\r\n  height: 8px;\r\n  border-radius: 50%;\r\n  display: inline-flex;\r\n  margin-right: 10px;\r\n}\r\n\r\n\/* Marker Method *\/\r\nul li::marker {\r\n  content: \"@  \";\r\n  color: red;\r\n  animation: zoomin 1s ease infinite;\r\n}\r\n\r\n@keyframes zoomin {\r\n  0%,\r\n  100% {\r\n    transform: scale(1.5);\r\n  }\r\n  50% {\r\n    transform: scale(1);\r\n  }\r\n}\r\n<\/script>","protected":false},"excerpt":{"rendered":"<p>\u0645\u062d\u062a\u0648\u0649 \u0627\u0644\u062f\u0631\u0633<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1423],"tags":[],"class_list":["post-14079","post","type-post","status-publish","format-standard","hentry","category-css-features"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14079","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=14079"}],"version-history":[{"count":1,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14079\/revisions"}],"predecessor-version":[{"id":14080,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/14079\/revisions\/14080"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=14079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=14079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=14079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}