{"id":22417,"date":"2020-09-10T23:57:24","date_gmt":"2020-09-11T06:57:24","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=22417"},"modified":"2020-12-28T23:41:50","modified_gmt":"2020-12-29T07:41:50","slug":"css-shapes","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/css-shapes\/","title":{"rendered":"CSS Shapes"},"content":{"rendered":"\n<p>Let&#8217;s go ahead and create some fun CSS shapes! Follow my <a href=\"https:\/\/codepen.io\/fbohz-the-decoder\/pen\/abNWbWQ\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">Codepen<\/a> for all the code. Let&#8217;s do this.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Rectangles and Squares<\/strong><\/h2>\n\n\n\n<p>All our shapes will be wrapped in a div. The most basic shape is the square and the rectangle since by default the div is a square or rectangle depending on the width and height properties. So the square has equal width and height whereas rectangle doesn&#8217;t:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>.rectangle {\n  width: 2rem;\n  height: 4rem;\n  background-color: violet;\n}\n\n.square {\n  width: 5rem;\n  height: 5rem;\n  background-color: lime;\n}\n<\/pre><\/div>\n\n\n\n<p><strong>Reminder<\/strong>: We use rem which is based on the root font-size and allows for easy scale. This is default on the browser (usually 16px). We set our font-size to 20px, so 2rem is 40px.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"187\" height=\"231\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91341855-c8a08200-e79f-11ea-9b6b-4a16edc30f5a.png\" alt=\"\" class=\"wp-image-22418\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91341855-c8a08200-e79f-11ea-9b6b-4a16edc30f5a.png 187w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91341855-c8a08200-e79f-11ea-9b6b-4a16edc30f5a-20x25.png 20w\" sizes=\"auto, (max-width: 187px) 100vw, 187px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Circle<\/strong><\/h2>\n\n\n\n<p>We&#8217;ll go ahead and create a circle for a profile image. To create a circle is similar to the square but we need to specify the border-radius. To round the corners, it will have to be at 50%. If we want an oval we&#8217;ll modify the width\/height in a similar vein as the rectangle.<\/p>\n\n\n\n<p>Let&#8217;s make our profile image:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>.profile-image {\n  width: 100px;\n  height: 100px;\n  border-radius: 50%;\n  background-image: url(&quot;https:\/\/user-images.githubusercontent.com\/15071636\/91342237-57ad9a00-e7a0-11ea-97bc-606a5998b29a.jpg&quot;);\n  background-position: center center;\n  background-size: cover;\n}\n<\/pre><\/div>\n\n\n\n<p><strong>Note<\/strong>: The background properties are to get the image, size it, and center it.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"127\" height=\"121\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91344330-6ba6cb00-e7a3-11ea-91f6-44cc8103c082.jpg\" alt=\"\" class=\"wp-image-22419\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91344330-6ba6cb00-e7a3-11ea-91f6-44cc8103c082.jpg 127w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91344330-6ba6cb00-e7a3-11ea-91f6-44cc8103c082-80x75.png 80w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91344330-6ba6cb00-e7a3-11ea-91f6-44cc8103c082-20x19.jpg 20w\" sizes=\"auto, (max-width: 127px) 100vw, 127px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Parallelogram<\/strong><\/h2>\n\n\n\n<p>We can also make a parallelogram. This shape can be useful when adding a cool text effect. Here we&#8217;ll use the transform property and we&#8217;ll use the skew value to transform the shape (and anything inside) as a parallelogram with either 20 or -20 degrees.<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>.parallelogram {\n  color: ivory;\n  width: 6rem;\n  height: 1.5rem;\n  transform: skew(-20deg);\n  background: indianred;\n}\n<\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"142\" height=\"43\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91348522-811ef380-e7a9-11ea-8d2b-0cfee030db08.jpg\" alt=\"\" class=\"wp-image-22420\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91348522-811ef380-e7a9-11ea-8d2b-0cfee030db08.jpg 142w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91348522-811ef380-e7a9-11ea-8d2b-0cfee030db08-20x6.png 20w\" sizes=\"auto, (max-width: 142px) 100vw, 142px\" \/><\/figure>\n\n\n\n<p>Looks cool right \ud83d\ude0e<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Other Shapes<\/strong><\/h2>\n\n\n\n<p>Now that we have some knowledge of CSS shapes and its uses, we can take a look at other shapes. All of them you can play for yourself on my <a href=\"https:\/\/codepen.io\/fbohz-the-decoder\/pen\/abNWbWQ\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\">Codepen<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"91\" height=\"109\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91349625-300fff00-e7ab-11ea-8717-9f7fa50685ae.png\" alt=\"\" class=\"wp-image-22421\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91349625-300fff00-e7ab-11ea-8717-9f7fa50685ae.png 91w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91349625-300fff00-e7ab-11ea-8717-9f7fa50685ae-20x24.png 20w\" sizes=\"auto, (max-width: 91px) 100vw, 91px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>.triangle {\n  width: 0;\n  height: 0;\n  border-left: 2rem solid transparent;\n  border-right: 2rem solid transparent;\n  border-bottom: 5rem solid hotpink;\n}\n<\/pre><\/div>\n\n\n\n<p>While there are many ways to do a heart, and you can find many iterations of it online, this one is pretty straightforward.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"212\" height=\"185\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91352075-ea553580-e7ae-11ea-8e46-4a93cec0008b.png\" alt=\"\" class=\"wp-image-22422\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91352075-ea553580-e7ae-11ea-8e46-4a93cec0008b.png 212w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91352075-ea553580-e7ae-11ea-8e46-4a93cec0008b-20x17.png 20w\" sizes=\"auto, (max-width: 212px) 100vw, 212px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>.heart {\n  width: 10rem;\n  background: radial-gradient(circle at 60% 65%, goldenrod 64%, transparent 65%)\n      top left, radial-gradient(\n        circle at 40% 65%,\n        goldenrod 64%,\n        transparent 65%\n      ) top right,\n    linear-gradient(to bottom left, goldenrod 43%, transparent 43%) bottom left,\n    linear-gradient(to bottom right, goldenrod 43%, transparent 43%) bottom right;\n  background-size: 50% 50%;\n  background-repeat: no-repeat;\n}\n\n.heart::before {\n  content: &quot;&quot;;\n  display: block;\n  padding-top: 100%;\n}\n<\/pre><\/div>\n\n\n\n<p>Go ahead and play with the percentages and change the colors. You can see how the heart is being built. So we can see how with the ::before and also ::after pseudo-elements we can make some cool shapes.<\/p>\n\n\n\n<p>Also, with the <code>polygon()<\/code> function we can specify other shapes, expanding our limits.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"168\" height=\"153\" src=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91353240-9d725e80-e7b0-11ea-997e-8e4fb53bbf90.png\" alt=\"\" class=\"wp-image-22423\" srcset=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91353240-9d725e80-e7b0-11ea-997e-8e4fb53bbf90.png 168w, https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/91353240-9d725e80-e7b0-11ea-997e-8e4fb53bbf90-20x18.png 20w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>.letter-t {\n  width: 5rem;\n  height: 5rem;\n  margin: 0 1rem;\n  shape-outside: polygon(\n    0 0,\n    100% 0,\n    100% 20%,\n    60% 20%,\n    60% 100%,\n    40% 100%,\n    40% 20%,\n    0 20%\n  );\n  clip-path: polygon(\n    0 0,\n    100% 0,\n    100% 20%,\n    60% 20%,\n    60% 100%,\n    40% 80%,\n    40% 20%,\n    10% 20%\n  );\n  background: navajowhite;\n}\n<\/pre><\/div>\n\n\n\n<p>Do check this <a href=\"https:\/\/bennettfeely.com\/clippy\/\" target=\"_blank\" rel=\"noopener\" rel=\"nofollow\"><strong>clip-path maker<\/strong><\/a>, a cool tool that will generate for you the code for a bunch of shapes!<br><\/p>\n","protected":false},"excerpt":{"rendered":"Let's go ahead and create some fun CSS shapes! Follow my Codepen for all the code. Let's do this. Rectangles and Squares All our shapes will be wrapped in a div. The most basic shape is the square and the rectangle since by default the div is a square or rectangle depending on the width&hellip;","protected":false},"author":86,"featured_media":20570,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[17287],"tags":[],"class_list":{"0":"post-22417","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-css"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"CSS","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.4 (Yoast SEO v27.4) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Creating some fun shapes using knowledges about CSS<\/title>\n<meta name=\"description\" content=\"Wanna improve your CSS UI Skills? Learn about CSS shapes and some useful applications. Learn CSS with CareerKarma.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/css-shapes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Shapes\" \/>\n<meta property=\"og:description\" content=\"Wanna improve your CSS UI Skills? Learn about CSS shapes and some useful applications. Learn CSS with CareerKarma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/css-shapes\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-11T06:57:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-29T07:41:50+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/pankaj-patel-1IW4HQuauSU-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Felipe Boh\u00f3rquez\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Felipe Boh\u00f3rquez\" \/>\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:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/\"},\"author\":{\"name\":\"Felipe Boh\u00f3rquez\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e2cbf72dcbfaf9e81a8b6a38c1bd4220\"},\"headline\":\"CSS Shapes\",\"datePublished\":\"2020-09-11T06:57:24+00:00\",\"dateModified\":\"2020-12-29T07:41:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/\"},\"wordCount\":361,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/pankaj-patel-1IW4HQuauSU-unsplash.jpg\",\"articleSection\":[\"CSS\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/\",\"name\":\"Creating some fun shapes using knowledges about CSS\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/pankaj-patel-1IW4HQuauSU-unsplash.jpg\",\"datePublished\":\"2020-09-11T06:57:24+00:00\",\"dateModified\":\"2020-12-29T07:41:50+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e2cbf72dcbfaf9e81a8b6a38c1bd4220\"},\"description\":\"Wanna improve your CSS UI Skills? Learn about CSS shapes and some useful applications. Learn CSS with CareerKarma.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#primaryimage\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/pankaj-patel-1IW4HQuauSU-unsplash.jpg\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/07\\\/pankaj-patel-1IW4HQuauSU-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css-shapes\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CSS\",\"item\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/css\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CSS Shapes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/#\\\/schema\\\/person\\\/e2cbf72dcbfaf9e81a8b6a38c1bd4220\",\"name\":\"Felipe Boh\u00f3rquez\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/Screen-Shot-2020-08-17-at-11.10.42-AM-150x150.png\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/Screen-Shot-2020-08-17-at-11.10.42-AM-150x150.png\",\"contentUrl\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/08\\\/Screen-Shot-2020-08-17-at-11.10.42-AM-150x150.png\",\"caption\":\"Felipe Boh\u00f3rquez\"},\"description\":\"Felipe Boh\u00f3rquez is a Software Engineer and technical writer at Career Karma. He covers all things frontend and backend development.\",\"url\":\"https:\\\/\\\/careerkarma.com\\\/blog\\\/author\\\/felipe-bohorquez\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Creating some fun shapes using knowledges about CSS","description":"Wanna improve your CSS UI Skills? Learn about CSS shapes and some useful applications. Learn CSS with CareerKarma.","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:\/\/careerkarma.com\/blog\/css-shapes\/","og_locale":"en_US","og_type":"article","og_title":"CSS Shapes","og_description":"Wanna improve your CSS UI Skills? Learn about CSS shapes and some useful applications. Learn CSS with CareerKarma.","og_url":"https:\/\/careerkarma.com\/blog\/css-shapes\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-11T06:57:24+00:00","article_modified_time":"2020-12-29T07:41:50+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/pankaj-patel-1IW4HQuauSU-unsplash.jpg","type":"image\/jpeg"}],"author":"Felipe Boh\u00f3rquez","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"Felipe Boh\u00f3rquez","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/"},"author":{"name":"Felipe Boh\u00f3rquez","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e2cbf72dcbfaf9e81a8b6a38c1bd4220"},"headline":"CSS Shapes","datePublished":"2020-09-11T06:57:24+00:00","dateModified":"2020-12-29T07:41:50+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/"},"wordCount":361,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/pankaj-patel-1IW4HQuauSU-unsplash.jpg","articleSection":["CSS"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/css-shapes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/","url":"https:\/\/careerkarma.com\/blog\/css-shapes\/","name":"Creating some fun shapes using knowledges about CSS","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/pankaj-patel-1IW4HQuauSU-unsplash.jpg","datePublished":"2020-09-11T06:57:24+00:00","dateModified":"2020-12-29T07:41:50+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e2cbf72dcbfaf9e81a8b6a38c1bd4220"},"description":"Wanna improve your CSS UI Skills? Learn about CSS shapes and some useful applications. Learn CSS with CareerKarma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/css-shapes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/pankaj-patel-1IW4HQuauSU-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/07\/pankaj-patel-1IW4HQuauSU-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/css-shapes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"CSS","item":"https:\/\/careerkarma.com\/blog\/css\/"},{"@type":"ListItem","position":3,"name":"CSS Shapes"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e2cbf72dcbfaf9e81a8b6a38c1bd4220","name":"Felipe Boh\u00f3rquez","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-17-at-11.10.42-AM-150x150.png","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-17-at-11.10.42-AM-150x150.png","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/Screen-Shot-2020-08-17-at-11.10.42-AM-150x150.png","caption":"Felipe Boh\u00f3rquez"},"description":"Felipe Boh\u00f3rquez is a Software Engineer and technical writer at Career Karma. He covers all things frontend and backend development.","url":"https:\/\/careerkarma.com\/blog\/author\/felipe-bohorquez\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/86"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=22417"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22417\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/20570"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=22417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=22417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=22417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}