{"id":398,"date":"2021-03-08T04:17:34","date_gmt":"2021-03-08T04:17:34","guid":{"rendered":"https:\/\/codeflarelimited.com\/blog\/?p=398"},"modified":"2021-05-20T11:11:25","modified_gmt":"2021-05-20T10:11:25","slug":"create-a-diamond-shaped-image-in-css","status":"publish","type":"post","link":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/","title":{"rendered":"Create a Diamond-shaped Image in CSS"},"content":{"rendered":"\n<p>It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\" target=\"_blank\" rel=\"noreferrer noopener\">CSS?<\/a><\/p>\n\n\n\n<p>In fact, one might think it is impossible, so that when web designers want to follow this style, they more often than not pre-crop their images via an image editor. <\/p>\n\n\n\n<p>But this is really not a maintainable way to apply any effect and ends up being a mess if one wants to change the image styling in the future.<\/p>\n\n\n\n<p>So, we are going to create a diamond-shaped image in CSS<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-using-css-transform-to-create-a-diamond-based-image-in-css\">Using CSS <em>transform<\/em> to Create a Diamond-based Image in CSS<\/h3>\n\n\n\n<p>we need to wrap our image with a <strong>&lt;div&gt;<\/strong>, then apply opposite <strong>rotate() <\/strong>transforms to them:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"markup\" class=\"language-markup\">&lt;div class=\"picture\"&gt;\n&lt;img src=\"images\/image.png\" alt=\"\" \/&gt;\n&lt;\/div&gt;<\/code><\/pre>\n\n\n\n<p> Then we apply style as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\"> .picture{\n            display: block;\n            margin: 0 auto;\n            margin-top: 100px;\n            width: 400px;\n            transform: rotate(45deg);\n            overflow: hidden;\n        }\n        .picture img{\n            max-width: 100%;\n            transform: rotate(-45deg) scale(1.42);\n        }<\/code><\/pre>\n\n\n\n<p>The main issue is the <strong>max-width: 100% <\/strong>declaration. <strong>100% <\/strong>refers to the side of our <strong>.picture <\/strong>container. <\/p>\n\n\n\n<p>However, we want our image to be <strong>as wide as its diagonal, not its side<\/strong>. You might have guessed that yes, we need the Pythagorean theorem again as we did when we used <strong><a href=\"https:\/\/codeflarelimited.com\/blog\/2021\/02\/28\/create-diagonal-stripes-in-css\/\" target=\"_blank\" rel=\"noreferrer noopener\">Diagonal stripes<\/a><\/strong>. As the theorem tells us, the diagonal of a square is equal to its side multiplied by<\/p>\n\n\n\n<p>2 \u2248 1 . 414213562. Therefore, it makes sense to set <strong>max-width <\/strong>to<\/p>\n\n\n\n<p>2 \u00d7 100 % \u2248 141 . 4213562 %, or round it up to <strong>142%<\/strong>, as we don\u2019t want it to be smaller under any circumstances (but <strong>slightly larger is OK<\/strong>, as we\u2019re cropping our image anyway).<\/p>\n\n\n\n<p>Actually, it makes even more sense to enlarge the image through a <strong>scale() <\/strong>transform, for a couple of reasons:<\/p>\n\n\n\n<p>We want the size of the image to remain 100% if CSS transforms are not supported.<\/p>\n\n\n\n<p>Enlarging an image through a <strong>scale() <\/strong>transform will scale it from the center (unless a different <strong>transform-origin <\/strong>is specified). Enlarging it via its <strong>width <\/strong>property will scale it from the top-left corner, so we will end up having to use negative margins to move it.<\/p>\n\n\n\n<p>Putting it all together, our final code looks like this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"567\" height=\"440\" src=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png\" alt=\"\" class=\"wp-image-399\" srcset=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png 567w, https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development-300x233.png 300w\" sizes=\"auto, (max-width: 567px) 100vw, 567px\" \/><\/figure>\n\n\n\n<p>This is how to create a diamond-shaped image in CSS.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\" href=\"https:\/\/codeflarelimited.com\" target=\"_blank\" rel=\"noreferrer noopener\">software development training<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>It is very common to see cropped images in diamond shapes in visual design. But is it possible<\/p>\n","protected":false},"author":1,"featured_media":399,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[32],"tags":[34,93],"class_list":["post-398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cascading-style-sheet","tag-css","tag-diamond-shaped-image"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create a Diamond-shaped Image in CSS<\/title>\n<meta name=\"description\" content=\"It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create a Diamond-shaped Image in CSS\" \/>\n<meta property=\"og:description\" content=\"It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/codeflretech\" \/>\n<meta property=\"article:published_time\" content=\"2021-03-08T04:17:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-20T10:11:25+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png\" \/>\n\t<meta property=\"og:image:width\" content=\"567\" \/>\n\t<meta property=\"og:image:height\" content=\"440\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"codeflare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@codeflaretech\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/\"},\"author\":{\"name\":\"codeflare\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\"},\"headline\":\"Create a Diamond-shaped Image in CSS\",\"datePublished\":\"2021-03-08T04:17:34+00:00\",\"dateModified\":\"2021-05-20T10:11:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/\"},\"wordCount\":341,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/software-development.png\",\"keywords\":[\"css\",\"diamond-shaped image\"],\"articleSection\":[\"Cascading style sheet\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/\",\"name\":\"Create a Diamond-shaped Image in CSS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/software-development.png\",\"datePublished\":\"2021-03-08T04:17:34+00:00\",\"dateModified\":\"2021-05-20T10:11:25+00:00\",\"description\":\"It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#primaryimage\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/software-development.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/03\\\/software-development.png\",\"width\":567,\"height\":440,\"caption\":\"create a diamond-shaped image in CSS\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/create-a-diamond-shaped-image-in-css\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Cascading style sheet\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/cascading-style-sheet\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create a Diamond-shaped Image in CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"name\":\"\",\"description\":\"Sustainable solutions\",\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\",\"name\":\"Codeflare Limited\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/11\\\/codeflare.png\",\"width\":1040,\"height\":263,\"caption\":\"Codeflare Limited\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\",\"name\":\"codeflare\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g\",\"caption\":\"codeflare\"},\"description\":\"Latest tech news and coding tips.\",\"sameAs\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\",\"https:\\\/\\\/facebook.com\\\/codeflretech\",\"https:\\\/\\\/instagram.com\\\/codeflaretech\",\"https:\\\/\\\/x.com\\\/codeflaretech\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1\"],\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/author\\\/watcher\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Create a Diamond-shaped Image in CSS","description":"It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS?","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:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/","og_locale":"en_US","og_type":"article","og_title":"Create a Diamond-shaped Image in CSS","og_description":"It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS?","og_url":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/","article_author":"https:\/\/facebook.com\/codeflretech","article_published_time":"2021-03-08T04:17:34+00:00","article_modified_time":"2021-05-20T10:11:25+00:00","og_image":[{"width":567,"height":440,"url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png","type":"image\/png"}],"author":"codeflare","twitter_card":"summary_large_image","twitter_creator":"@codeflaretech","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#article","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/"},"author":{"name":"codeflare","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a"},"headline":"Create a Diamond-shaped Image in CSS","datePublished":"2021-03-08T04:17:34+00:00","dateModified":"2021-05-20T10:11:25+00:00","mainEntityOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/"},"wordCount":341,"commentCount":0,"publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png","keywords":["css","diamond-shaped image"],"articleSection":["Cascading style sheet"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/","url":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/","name":"Create a Diamond-shaped Image in CSS","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#primaryimage"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png","datePublished":"2021-03-08T04:17:34+00:00","dateModified":"2021-05-20T10:11:25+00:00","description":"It is very common to see cropped images in diamond shapes in visual design. But is it possible to create a diamond-shaped image in CSS?","breadcrumb":{"@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#primaryimage","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png","width":567,"height":440,"caption":"create a diamond-shaped image in CSS"},{"@type":"BreadcrumbList","@id":"https:\/\/codeflarelimited.com\/blog\/create-a-diamond-shaped-image-in-css\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codeflarelimited.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Cascading style sheet","item":"https:\/\/codeflarelimited.com\/blog\/cascading-style-sheet\/"},{"@type":"ListItem","position":3,"name":"Create a Diamond-shaped Image in CSS"}]},{"@type":"WebSite","@id":"https:\/\/codeflarelimited.com\/blog\/#website","url":"https:\/\/codeflarelimited.com\/blog\/","name":"","description":"Sustainable solutions","publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codeflarelimited.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codeflarelimited.com\/blog\/#organization","name":"Codeflare Limited","url":"https:\/\/codeflarelimited.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2020\/11\/codeflare.png","width":1040,"height":263,"caption":"Codeflare Limited"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a","name":"codeflare","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/59cef917c86d965eea581d2747f51bd6382003a68bfce7c8a4dfec98b4cd838d?s=96&d=mm&r=g","caption":"codeflare"},"description":"Latest tech news and coding tips.","sameAs":["https:\/\/codeflarelimited.com\/blog","https:\/\/facebook.com\/codeflretech","https:\/\/instagram.com\/codeflaretech","https:\/\/x.com\/codeflaretech","https:\/\/www.youtube.com\/channel\/UCuBLtiYqsajHdqw0uyt7Ofw?sub_confirmation=1"],"url":"https:\/\/codeflarelimited.com\/blog\/author\/watcher\/"}]}},"jetpack_featured_media_url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2021\/03\/software-development.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":4,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":611,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/398\/revisions\/611"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media\/399"}],"wp:attachment":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}