{"id":7599,"date":"2021-04-13T23:28:33","date_gmt":"2021-04-13T20:28:33","guid":{"rendered":"https:\/\/elzero.org\/?p=7599"},"modified":"2022-09-28T17:57:54","modified_gmt":"2022-09-28T14:57:54","slug":"tutorials-ribbons-without-images","status":"publish","type":"post","link":"https:\/\/elzero.org\/old\/tutorials-ribbons-without-images\/","title":{"rendered":"Create Ribbons Without Images"},"content":{"rendered":"<h3>\u0627\u0644 Code<\/h3>\r\n\r\n<script type=\"text\/plain\" class=\"language-html\">\r\n<div class=\"product\">\r\n  <h2 class=\"title\">Product Title<\/h2>\r\n  <p>\r\n    Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolores, \r\n    nisi id earum corrupti neque sunt ea molestiae\r\n    iusto. Quasi fugit cum optio aliquam corporis impedit \r\n    quia numquam fuga error laudantium.\r\n  <\/p>\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  padding: 0;\r\n  margin: 0;\r\n}\r\nbody {\r\n  font-family: Arial, Tahoma;\r\n}\r\n.product {\r\n  width: 400px;\r\n  margin: 20px auto;\r\n  padding: 20px;\r\n  background-color: #f5f5f5;\r\n  text-align: center;\r\n}\r\n.product h2 {\r\n  margin: 0 0 20px;\r\n  background-color: #009688;\r\n  color: #fff;\r\n  padding: 15px;\r\n  width: calc(100% + 80px);\r\n  position: relative;\r\n  left: -40px;\r\n}\r\n.product h2:before {\r\n  content: \"\";\r\n  position: absolute;\r\n  left: 0;\r\n  bottom: -20px;\r\n  border-width: 10px;\r\n  border-color: #02766b #02766b transparent transparent;\r\n  border-style: solid;\r\n}\r\n.product h2:after {\r\n  content: \"\";\r\n  position: absolute;\r\n  right: 0;\r\n  bottom: -20px;\r\n  border-width: 10px;\r\n  border-color: #02766b transparent transparent #02766b;\r\n  border-style: solid;\r\n}\r\n.product p {\r\n  line-height: 1.6;\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":[],"class_list":["post-7599","post","type-post","status-publish","format-standard","hentry","category-front-end-tutorials"],"_links":{"self":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/7599","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=7599"}],"version-history":[{"count":2,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/7599\/revisions"}],"predecessor-version":[{"id":7601,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/posts\/7599\/revisions\/7601"}],"wp:attachment":[{"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/media?parent=7599"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/categories?post=7599"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elzero.org\/old\/wp-json\/wp\/v2\/tags?post=7599"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}