{"id":18103,"date":"2013-09-11T21:01:42","date_gmt":"2013-09-11T13:01:42","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=18103"},"modified":"2025-04-24T17:04:02","modified_gmt":"2025-04-24T09:04:02","slug":"css-stitched-effect","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/","title":{"rendered":"Creating a Stitched Effect Using CSS"},"content":{"rendered":"<p>There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create a stitched effect using only CSS.<\/p>\n<p>Let\u2019s get started.<\/p>\n<div class=\"ref-block ref-block--post\" id=\"ref-post-1\">\n\t\t\t\t\t<a href=\"https:\/\/www.hongkiat.com\/blog\/pseudo-element-before-after\/\" class=\"ref-block__link\" title=\"Read More: Understanding Pseudo-Element :before and :after\" rel=\"bookmark\"><span class=\"screen-reader-text\">Understanding Pseudo-Element :before and :after<\/span><\/a>\n<div class=\"ref-block__thumbnail img-thumb img-thumb--jumbo\" data-img='{ \"src\" : \"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/pseudo-element-before-after.jpg\" }'>\n\t\t\t\t\t\t\t<noscript>\n<style>.no-js #ref-block-post-14256 .ref-block__thumbnail { background-image: url(\"https:\/\/assets.hongkiat.com\/uploads\/thumbs\/250x160\/pseudo-element-before-after.jpg\"); }<\/style>\n<\/noscript>\n\t\t\t\t\t\t<\/div>\n<div class=\"ref-block__summary\">\n<h4 class=\"ref-title\">Understanding Pseudo-Element :before and :after<\/h4>\n<p class=\"ref-description\">\n\t\t\t\t\t\tCascading Style Sheet (CSS) is primarily intended for applying styles to the HTML markup, however in some cases...\t\t\t\t\t\t<span>Read more<\/span><\/p>\n<\/div>\n<\/div>\n<h2>Preparing the Assets<\/h2>\n<p>First, we need a resource for the \u2018F\u2019 icon. In this tutorial, we will use this font: <strong><a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.fontsquirrel.com\/fonts\/modern-pictograms\">Modern Pictogram<\/a><\/strong> by John Caserta. We will also need an image for the background, and this time, we will use this <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/www.premiumpixels.com\/freebies\/apple-ios-linen-texture\/\">linen texture<\/a> from Premium Pixels.<\/p>\n<p>Then, place these assets in appropriate folders, like so:<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" height=\"337\" src=\"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg\" width=\"357\" alt=\"CSS stitched effect folder structure\"><\/figure>\n<h2>Structuring HTML Markup<\/h2>\n<p>Create a new HTML document and a CSS file. Then, link the CSS file and Normalize.css in the <code>&lt;head&gt;<\/code> section, like this:<\/p>\n<pre>\n&lt;link rel=\"stylesheet\" href=\"https:\/\/github.com\/necolas\/normalize.css\/2.0.1\/normalize.css\"&gt;\n&lt;link rel=\"stylesheet\" href=\"css\/style.css\"&gt;\n<\/pre>\n<p>To create this icon, we only need a single <code>&lt;div&gt;<\/code> element. Add the following <code>&lt;div&gt;<\/code> within the <code>&lt;body&gt;<\/code> section:<\/p>\n<pre>\n&lt;div class=\"icon\"&gt;F&lt;\/div&gt;\n<\/pre>\n<h2>Styles<\/h2>\n<p>Now, let\u2019s work on the styles. As usual, we\u2019ll start by adding the <code>@font-face<\/code> rule and applying the linen background to the <code>&lt;body&gt;<\/code> element, like this:<\/p>\n<pre>\n@font-face {\n  font-family: 'ModernPictogramsNormal';\n  src: url('fonts\/modernpics-webfont.eot');\n  src: url('fonts\/modernpics-webfont.eot?#iefix') format('embedded-opentype'),\n       url('fonts\/modernpics-webfont.woff') format('woff'),\n       url('fonts\/modernpics-webfont.ttf') format('truetype'),\n       url('fonts\/modernpics-webfont.svg#ModernPictogramsNormal') format('svg');\n  font-weight: normal;\n  font-style: normal;\n}\n\nbody {\n  background: url('..\/img\/ios-linen.jpg');\n}\n<\/pre>\n<p>Next, we add decorative styles to the <code>.icon<\/code> class. This includes specifying the <code>height<\/code> and <code>width<\/code>, adding rounded corners, a box shadow, and a color gradient for the background.<\/p>\n<pre>\n.icon {\n  font-family: \"ModernPictogramsNormal\";\n  font-size: 4em;\n  color: #fff;\n  text-align: center;\n  line-height: 0.406em;\n  text-shadow: 1px 1px 0px rgba(0, 0, 0, .5);\n  width: 65px;\n  height: 65px;\n  padding: 7px;\n  margin: 50px auto;\n  position: relative;\n  -webkit-border-radius: 6px;\n  -moz-border-radius: 6px;\n  border-radius: 6px;\n  -webkit-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .3), inset 0px 1px 0px 0px rgba(255, 255, 255, .15);\n  -moz-box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .3), inset 0px 1px 0px 0px rgba(255, 255, 255, .15);\n  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, .3), inset 0px 1px 0px 0px rgba(255, 255, 255, .15);\n  background: #375a9a;\n  background: -moz-linear-gradient(top, #375a9a 0%, #1b458e 100%);\n  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #375a9a), color-stop(100%, #1b458e));\n  background: -webkit-linear-gradient(top, #375a9a 0%, #1b458e 100%);\n  background: -o-linear-gradient(top, #375a9a 0%, #1b458e 100%);\n  background: -ms-linear-gradient(top, #375a9a 0%, #1b458e 100%);\n  background: linear-gradient(to bottom, #375a9a 0%, #1b458e 100%);\n  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=\"#375a9a\", endColorstr=\"#1b458e\", GradientType=0);\n}\n\n.icon:before,\n.icon:after {\n  content: \"\";\n  display: block;\n  width: 63px;\n  height: 63px;\n  -webkit-border-radius: 3px;\n  -moz-border-radius: 3px;\n  border-radius: 3px;\n  position: absolute;\n}\n<\/pre>\n<p>Then, we add the <code>:before<\/code> and <code>:after<\/code> pseudo-elements with dashed borders. Each will have a different border color. The <code>:before<\/code> pseudo-element will have a dark blue border, like this:<\/p>\n<pre>\n.icon:before {\n  border: 1px dashed #0d2b5e;\n}\n<\/pre>\n<p>The <code>:after<\/code> pseudo-element\u2019s border will be white with low opacity, defined using RGBA color mode. Furthermore, we need to position the <code>:after<\/code> element <code>1px<\/code> from the top and <code>1px<\/code> from the left so its border line is noticeable.<\/p>\n<pre>\n.icon:after {\n  border: 1px dashed rgba(255, 255, 255, 0.1);\n  top: 7px;\n  left: 7px;\n  margin-top: 1px;\n  margin-left: 1px;\n}\n<\/pre>\n<p>That\u2019s all the code we need. Here is the result, and you can download the source code from the links below.<\/p>\n<div class=\"button\">\n    <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/hongkiat.github.io\/css-stitched-effect\/\">View Demo<\/a>\n    <a rel=\"nofollow noopener\" target=\"_blank\" href=\"https:\/\/github.com\/hongkiat\/css-stitched-effect\/\">Download Source<\/a>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create a stitched effect using only CSS. Let\u2019s get started. Preparing the Assets First, we need a resource for the \u2018F\u2019 icon. In this tutorial, we will use this&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3392,352],"tags":[507],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Creating a Stitched Effect Using CSS - Hongkiat<\/title>\n<meta name=\"description\" content=\"There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Stitched Effect Using CSS\" \/>\n<meta property=\"og:description\" content=\"There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2013-09-11T13:01:42+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-24T09:04:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"Creating a Stitched Effect Using CSS\",\"datePublished\":\"2013-09-11T13:01:42+00:00\",\"dateModified\":\"2025-04-24T09:04:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/\"},\"wordCount\":279,\"commentCount\":14,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/css-stitched-effect\\\/folders-structure.jpg\",\"keywords\":[\"CSS\"],\"articleSection\":[\"Coding\",\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/\",\"name\":\"Creating a Stitched Effect Using CSS - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/css-stitched-effect\\\/folders-structure.jpg\",\"datePublished\":\"2013-09-11T13:01:42+00:00\",\"dateModified\":\"2025-04-24T09:04:02+00:00\",\"description\":\"There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/css-stitched-effect\\\/folders-structure.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/css-stitched-effect\\\/folders-structure.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/css-stitched-effect\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Stitched Effect Using CSS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Creating a Stitched Effect Using CSS - Hongkiat","description":"There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create","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:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/","og_locale":"en_US","og_type":"article","og_title":"Creating a Stitched Effect Using CSS","og_description":"There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create","og_url":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2013-09-11T13:01:42+00:00","article_modified_time":"2025-04-24T09:04:02+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"Creating a Stitched Effect Using CSS","datePublished":"2013-09-11T13:01:42+00:00","dateModified":"2025-04-24T09:04:02+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/"},"wordCount":279,"commentCount":14,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg","keywords":["CSS"],"articleSection":["Coding","Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/","url":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/","name":"Creating a Stitched Effect Using CSS - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg","datePublished":"2013-09-11T13:01:42+00:00","dateModified":"2025-04-24T09:04:02+00:00","description":"There are many visual effects we can achieve with CSS; the only limit is our creativity and imagination. This time, as the title suggests, we will create","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/css-stitched-effect\/folders-structure.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/css-stitched-effect\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Creating a Stitched Effect Using CSS"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-4HZ","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/18103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=18103"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/18103\/revisions"}],"predecessor-version":[{"id":74092,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/18103\/revisions\/74092"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=18103"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=18103"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=18103"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=18103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}