{"id":10082,"date":"2024-01-10T18:17:00","date_gmt":"2024-01-10T18:17:00","guid":{"rendered":"https:\/\/codehim.com\/?p=10082"},"modified":"2024-01-22T16:17:58","modified_gmt":"2024-01-22T11:17:58","slug":"css-pie-chart-code-with-example","status":"publish","type":"post","link":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/","title":{"rendered":"CSS Pie Chart Code with Example"},"content":{"rendered":"<p>This CSS code example helps you to create a Pie Chart with colorful segments. It visually represents data percentages. The code utilizes CSS to generate pie slices for each data percentage. Each segment&#8217;s size and color correspond to its respective data value, offering a clear visual representation of proportions. This code helps display data distribution in a visually engaging way on web pages.<\/p>\n<h2>How to Create Pie Chart Using CSS<\/h2>\n<p>1. Start by setting up the HTML structure. Use a container <code>&lt;div&gt;<\/code> to hold the pie chart segments. Inside this container, create individual <code>&lt;div&gt;<\/code> elements for each segment, each with a nested <code>&lt;div&gt;<\/code> to display the percentage value using a <code>&lt;span&gt;<\/code> element. Here&#8217;s an example:<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"wrapper\"&gt;\r\n  &lt;div class=\"d1\"&gt;&lt;div&gt;&lt;span&gt;60%&lt;\/span&gt;&lt;\/div&gt;&lt;\/div&gt;\r\n  &lt;div class=\"d2\"&gt;&lt;div&gt;&lt;span&gt;22%&lt;\/span&gt;&lt;\/div&gt;&lt;\/div&gt;\r\n  &lt;div class=\"d3\"&gt;&lt;div&gt;&lt;span&gt;8%&lt;\/span&gt;&lt;\/div&gt;&lt;\/div&gt;\r\n  &lt;div class=\"d4\"&gt;&lt;div&gt;&lt;span&gt;7%&lt;\/span&gt;&lt;\/div&gt;&lt;\/div&gt;\r\n  &lt;div class=\"d5\"&gt;&lt;div&gt;&lt;span&gt;3%&lt;\/span&gt;&lt;\/div&gt;&lt;\/div&gt;\r\n&lt;\/div&gt;<\/pre>\n<p>2. Apply the necessary CSS styles to create the pie chart effect. The key is to use absolute positioning, rotation, and border properties to generate the segments. Each segment will have its own class with specific styling for size, color, and rotation. Here&#8217;s an example of the CSS:<\/p>\n<pre class=\"prettyprint linenums lang-css\">.wrapper {\r\n  width: 400px;\r\n  height: 400px;\r\n  background: #FC5B3F;\r\n  margin: 100px auto;\r\n  border-radius: 50%;\r\n  overflow: hidden;\r\n  position: relative;\r\n  transform: rotate(108deg);\r\n}\r\n.wrapper .d1 {\r\n  width: 800px;\r\n  height: 800px;\r\n  position: absolute;\r\n  top: -200px;\r\n  left: -200px;\r\n  transform: rotate(0deg);\r\n}\r\n.wrapper .d1 div {\r\n  width: 800px;\r\n  height: 800px;\r\n}\r\n.wrapper .d1 div:after {\r\n  content: '';\r\n  width: 0;\r\n  height: 0;\r\n  display: block;\r\n  border: solid transparent;\r\n  border-width: 400px;\r\n  border-top-color: #FC5B3F;\r\n  position: relative;\r\n  transform: scaleX(-3.07768);\r\n}\r\n.wrapper .d1 div span {\r\n  display: block;\r\n  width: 100%;\r\n  position: absolute;\r\n  left: 0;\r\n  top: 34%;\r\n  font-size: 12px;\r\n  text-align: center;\r\n  z-index: 100;\r\n  color: #fff;\r\n  transform: rotate(-108deg);\r\n}\r\n.wrapper .d2 {\r\n  width: 800px;\r\n  height: 800px;\r\n  position: absolute;\r\n  top: -200px;\r\n  left: -200px;\r\n  transform: rotate(147.6deg);\r\n}\r\n.wrapper .d2 div {\r\n  width: 800px;\r\n  height: 800px;\r\n}\r\n.wrapper .d2 div:after {\r\n  content: '';\r\n  width: 0;\r\n  height: 0;\r\n  display: block;\r\n  border: solid transparent;\r\n  border-width: 400px;\r\n  border-top-color: #FCB03C;\r\n  position: relative;\r\n  transform: scaleX(0.82727);\r\n}\r\n.wrapper .d2 div span {\r\n  display: block;\r\n  width: 100%;\r\n  position: absolute;\r\n  left: 0;\r\n  top: 34%;\r\n  font-size: 12px;\r\n  text-align: center;\r\n  z-index: 100;\r\n  color: #fff;\r\n  transform: rotate(-255.6deg);\r\n}\r\n.wrapper .d3 {\r\n  width: 800px;\r\n  height: 800px;\r\n  position: absolute;\r\n  top: -200px;\r\n  left: -200px;\r\n  transform: rotate(201.6deg);\r\n}\r\n.wrapper .d3 div {\r\n  width: 800px;\r\n  height: 800px;\r\n}\r\n.wrapper .d3 div:after {\r\n  content: '';\r\n  width: 0;\r\n  height: 0;\r\n  display: block;\r\n  border: solid transparent;\r\n  border-width: 400px;\r\n  border-top-color: #6FB07F;\r\n  position: relative;\r\n  transform: scaleX(0.25676);\r\n}\r\n.wrapper .d3 div span {\r\n  display: block;\r\n  width: 100%;\r\n  position: absolute;\r\n  left: 0;\r\n  top: 34%;\r\n  font-size: 12px;\r\n  text-align: center;\r\n  z-index: 100;\r\n  color: #fff;\r\n  transform: rotate(-309.6deg);\r\n}\r\n.wrapper .d4 {\r\n  width: 800px;\r\n  height: 800px;\r\n  position: absolute;\r\n  top: -200px;\r\n  left: -200px;\r\n  transform: rotate(228.6deg);\r\n}\r\n.wrapper .d4 div {\r\n  width: 800px;\r\n  height: 800px;\r\n}\r\n.wrapper .d4 div:after {\r\n  content: '';\r\n  width: 0;\r\n  height: 0;\r\n  display: block;\r\n  border: solid transparent;\r\n  border-width: 400px;\r\n  border-top-color: #068587;\r\n  position: relative;\r\n  transform: scaleX(0.22353);\r\n}\r\n.wrapper .d4 div span {\r\n  display: block;\r\n  width: 100%;\r\n  position: absolute;\r\n  left: 0;\r\n  top: 34%;\r\n  font-size: 12px;\r\n  text-align: center;\r\n  z-index: 100;\r\n  color: #fff;\r\n  transform: rotate(-336.6deg);\r\n}\r\n.wrapper .d5 {\r\n  width: 800px;\r\n  height: 800px;\r\n  position: absolute;\r\n  top: -200px;\r\n  left: -200px;\r\n  transform: rotate(246.6deg);\r\n}\r\n.wrapper .d5 div {\r\n  width: 800px;\r\n  height: 800px;\r\n}\r\n.wrapper .d5 div:after {\r\n  content: '';\r\n  width: 0;\r\n  height: 0;\r\n  display: block;\r\n  border: solid transparent;\r\n  border-width: 400px;\r\n  border-top-color: #1A4F63;\r\n  position: relative;\r\n  transform: scaleX(0.09453);\r\n}\r\n.wrapper .d5 div span {\r\n  display: block;\r\n  width: 100%;\r\n  position: absolute;\r\n  left: 0;\r\n  top: 34%;\r\n  font-size: 12px;\r\n  text-align: center;\r\n  z-index: 100;\r\n  color: #fff;\r\n  transform: rotate(-354.6deg);\r\n}\r\n\r\nbody {\r\n  background: #111;\r\n}<\/pre>\n<p>To add more segments or customize existing ones, duplicate the segment <code>&lt;div&gt;<\/code> and adjust the styling in the CSS accordingly. You can change the percentages, colors, and positions to represent your data accurately.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully integrated this CSS <a href=\"https:\/\/codehim.com\/chart-graph\/pie-bar-linear-area-chart-in-html-using-javascript-jquery\/\" target=\"_blank\" rel=\"noopener\">pie chart<\/a> code example into your project. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This CSS code example helps you to create a Pie Chart with colorful segments. It visually represents data percentages. The&#8230;<\/p>\n","protected":false},"author":1,"featured_media":10105,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[111],"tags":[],"class_list":["post-10082","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chart-graph"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Pie Chart Code with Example &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a CSS Pie Chart Code with Example. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Pie Chart Code with Example &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a CSS Pie Chart Code with Example. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-10T18:17:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:17:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"CSS Pie Chart Code with Example\",\"datePublished\":\"2024-01-10T18:17:00+00:00\",\"dateModified\":\"2024-01-22T11:17:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\"},\"wordCount\":227,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png\",\"articleSection\":[\"Chart &amp; Graph\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\",\"url\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\",\"name\":\"CSS Pie Chart Code with Example &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png\",\"datePublished\":\"2024-01-10T18:17:00+00:00\",\"dateModified\":\"2024-01-22T11:17:58+00:00\",\"description\":\"Here is a free code snippet to create a CSS Pie Chart Code with Example. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png\",\"width\":1280,\"height\":960,\"caption\":\"CSS Pie Chart Code with Example\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Chart &amp; Graph\",\"item\":\"https:\/\/codehim.com\/category\/chart-graph\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CSS Pie Chart Code with Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"CSS Pie Chart Code with Example &#8212; CodeHim","description":"Here is a free code snippet to create a CSS Pie Chart Code with Example. You can view demo and download the source code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/","og_locale":"en_US","og_type":"article","og_title":"CSS Pie Chart Code with Example &#8212; CodeHim","og_description":"Here is a free code snippet to create a CSS Pie Chart Code with Example. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:17:00+00:00","article_modified_time":"2024-01-22T11:17:58+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"CSS Pie Chart Code with Example","datePublished":"2024-01-10T18:17:00+00:00","dateModified":"2024-01-22T11:17:58+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/"},"wordCount":227,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png","articleSection":["Chart &amp; Graph"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/","url":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/","name":"CSS Pie Chart Code with Example &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png","datePublished":"2024-01-10T18:17:00+00:00","dateModified":"2024-01-22T11:17:58+00:00","description":"Here is a free code snippet to create a CSS Pie Chart Code with Example. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/12\/CSS-Pie-Chart-Code-with-Example.png","width":1280,"height":960,"caption":"CSS Pie Chart Code with Example"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/chart-graph\/css-pie-chart-code-with-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Chart &amp; Graph","item":"https:\/\/codehim.com\/category\/chart-graph\/"},{"@type":"ListItem","position":3,"name":"CSS Pie Chart Code with Example"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":1982,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=10082"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/10082\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/10105"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=10082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=10082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=10082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}