{"id":1625,"date":"2024-01-25T12:21:40","date_gmt":"2024-01-25T11:21:40","guid":{"rendered":"https:\/\/codeflarelimited.com\/blog\/?p=1625"},"modified":"2024-01-25T12:21:43","modified_gmt":"2024-01-25T11:21:43","slug":"css-trigonometric-functions","status":"publish","type":"post","link":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/","title":{"rendered":"CSS Trigonometric Functions"},"content":{"rendered":"\n<p>You already know of <strong>min()<\/strong>, <strong>max()<\/strong> and <strong>calc()<\/strong>. But did you know that as of December 2022, &nbsp;Firefox and Safari began supporting CSS trigonometric functions. Later on other browsers would follow suit.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">But Why Another Mathematical Complexity?<\/h2>\n\n\n\n<p>From our research and personal tries, the main reason seems to be to create complex animations without needing so much JavaScript. But let us first find out what these trigonometric functions are. <\/p>\n\n\n\n<p>The basic CSS trigonometric functions are: \u00a0<code><strong>sin()<\/strong><\/code>,\u00a0<code><strong>cos()<\/strong><\/code>,\u00a0<code><strong>tan()<\/strong><\/code>,<strong>\u00a0<code>asin()<\/code><\/strong>,\u00a0<code><strong>acos()<\/strong><\/code>,\u00a0<code><strong>atan()<\/strong><\/code>, and\u00a0<code><strong>atan2()<\/strong><\/code>. These functions are\u00a0<a href=\"https:\/\/www.w3.org\/TR\/css-values-4\/#trig-funcs\">defined in the CSS Values and Units Module Level 4<\/a>\u00a0and are now supported by all browsers.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><code>sin()<\/code>,&nbsp;<code>cos()<\/code>,&nbsp;and&nbsp;<code>tan()<\/code><\/h2>\n\n\n\n<p>The core three trig functions are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>cos()<\/code>: Returns the cosine of an angle, which is a value between&nbsp;<code>-1<\/code>&nbsp;and&nbsp;<code>1<\/code>.<\/li>\n\n\n\n<li><code>sin()<\/code>: Returns the sine of an angle, which is a value between&nbsp;<code>-1<\/code>&nbsp;and&nbsp;<code>1<\/code>.<\/li>\n\n\n\n<li><code>tan()<\/code>: Returns the tangent of an angle, which is a value between&nbsp;<code>\u2212\u221e<\/code>&nbsp;and&nbsp;<code>+\u221e<\/code>.<\/li>\n<\/ul>\n\n\n\n<p>Unlike their JavaScript counterparts, these functions accept both angles and radians as their argument. Let&#8217;s see some syntax:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">cos()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* Single &lt;angle&gt; values *\/\nwidth: calc(100px * cos(45deg));\nwidth: calc(100px * cos(0.125turn));\nwidth: calc(100px * cos(0.785398163rad));\n\n\/* Single &lt;number&gt; values *\/\nwidth: calc(100px * cos(63.673));\nwidth: calc(100px * cos(2 * 0.125));\n\n\/* Other values *\/\nwidth: calc(100px * cos(pi));\nwidth: calc(100px * cos(e \/ 2));\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">sin()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* Single &lt;angle&gt; values *\/\nwidth: calc(100px * sin(45deg));\nwidth: calc(100px * sin(0.25turn));\nwidth: calc(100px * sin(1.0471967rad));\n\n\/* Single &lt;number&gt; values *\/\nwidth: calc(100px * sin(63.673));\nwidth: calc(100px * sin(2 * 0.125));\n\n\/* Other values *\/\nwidth: calc(100px * sin(pi \/ 2));\nwidth: calc(100px * sin(e \/ 4));\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">tan()<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"css\" class=\"language-css\">\/* Single &lt;angle&gt; values *\/\nwidth: calc(100px * tan(45deg));\nwidth: calc(100px * tan(0.125turn));\nwidth: calc(100px * tan(0.785398163rad));\n\n\/* Single &lt;number&gt; values *\/\nwidth: calc(100px * tan(0.5773502));\nwidth: calc(100px * tan(1.732 - 1));\n\n\/* Other values *\/\nwidth: calc(100px * tan(pi \/ 3));\nwidth: calc(100px * tan(e));\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Real-life Use Cases<\/h2>\n\n\n\n<p>There are several use cases for CSS trigonometric functions. In the following example, the dots revolve around a central point. Instead of rotating each dot around its own center and then moving it outwards, each dot is translated on the X and Y axes. The distances on the X and Y axes are determined by taking the\u00a0<code>cos()<\/code>\u00a0and, respectively, the\u00a0<code>sin()<\/code>\u00a0of the\u00a0<code>--angle<\/code>\u00a0into account.<\/p>\n\n\n\n<div class=\"wp-block-cp-codepen-gutenberg-embed-block cp_embed_wrapper\"><iframe id=\"cp_embed_ExePgOg\" src=\"\/\/codepen.io\/anon\/embed\/ExePgOg?height=450&amp;theme-id=1&amp;slug-hash=ExePgOg&amp;default-tab=result\" height=\"450\" scrolling=\"no\" frameborder=\"0\" allowfullscreen allowpaymentrequest name=\"CodePen Embed ExePgOg\" title=\"CodePen Embed ExePgOg\" class=\"cp_embed_iframe\" style=\"width:100%;overflow:hidden\">CodePen Embed Fallback<\/iframe><\/div>\n\n\n\n<p>To distribute the dots evenly around the central point, each dot is given an additional offset based on its&nbsp;<code>nth-child<\/code>index. For example, if there are three dots, there&#8217;s a distance of&nbsp;<code>120deg<\/code>&nbsp;(=&nbsp;<code>360deg \/ 3<\/code>) between each dot.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The first child element out of three gets offset by&nbsp;<code>0 x 120deg<\/code>&nbsp;=&nbsp;<code>0deg<\/code>.<\/li>\n\n\n\n<li>The second child element out of three gets offset by&nbsp;<code>1 x 120deg<\/code>&nbsp;=&nbsp;<code>120deg<\/code>.<\/li>\n\n\n\n<li>The third child element out of three gets offset by\u00a0<code>2 x 120deg<\/code>\u00a0=\u00a0<code>240deg<\/code>.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<p>If you&#8217;re just building simple websites you may have little or no encounters with CSS trigonometric functions. The primary use case for these seems to be easier shape creation and more options for building complex animations. <\/p>\n\n\n\n<p><a href=\"https:\/\/codeflarelimited.com\/blog\/differences-between-functional-and-class-components-in-react\/\">Differences between Functional and Class Components <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You already know of min(), max() and calc(). But did you know that as of December 2022, &nbsp;Firefox<\/p>\n","protected":false},"author":1,"featured_media":1627,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[32,98],"tags":[],"class_list":["post-1625","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cascading-style-sheet","category-softare-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>CSS Trigonometric Functions<\/title>\n<meta name=\"description\" content=\"You already know of min(), max() and calc(). But did you know that as of December 2022, CSS trigonometric functions were introduced\" \/>\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\/css-trigonometric-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CSS Trigonometric Functions\" \/>\n<meta property=\"og:description\" content=\"You already know of min(), max() and calc(). But did you know that as of December 2022, CSS trigonometric functions were introduced\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/facebook.com\/codeflretech\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-25T11:21:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-25T11:21:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/css-trigonometric-functions.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2240\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\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\\\/css-trigonometric-functions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/\"},\"author\":{\"name\":\"codeflare\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#\\\/schema\\\/person\\\/7e65653d49add95629f8c1053c5cd76a\"},\"headline\":\"CSS Trigonometric Functions\",\"datePublished\":\"2024-01-25T11:21:40+00:00\",\"dateModified\":\"2024-01-25T11:21:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/\"},\"wordCount\":361,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/css-trigonometric-functions.png\",\"articleSection\":[\"Cascading style sheet\",\"softare development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/\",\"name\":\"CSS Trigonometric Functions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/css-trigonometric-functions.png\",\"datePublished\":\"2024-01-25T11:21:40+00:00\",\"dateModified\":\"2024-01-25T11:21:43+00:00\",\"description\":\"You already know of min(), max() and calc(). But did you know that as of December 2022, CSS trigonometric functions were introduced\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#primaryimage\",\"url\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/css-trigonometric-functions.png\",\"contentUrl\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/01\\\/css-trigonometric-functions.png\",\"width\":2240,\"height\":1260,\"caption\":\"css trigonometric functions\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/css-trigonometric-functions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"softare development\",\"item\":\"https:\\\/\\\/codeflarelimited.com\\\/blog\\\/softare-development\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"CSS Trigonometric Functions\"}]},{\"@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":"CSS Trigonometric Functions","description":"You already know of min(), max() and calc(). But did you know that as of December 2022, CSS trigonometric functions were introduced","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\/css-trigonometric-functions\/","og_locale":"en_US","og_type":"article","og_title":"CSS Trigonometric Functions","og_description":"You already know of min(), max() and calc(). But did you know that as of December 2022, CSS trigonometric functions were introduced","og_url":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/","article_author":"https:\/\/facebook.com\/codeflretech","article_published_time":"2024-01-25T11:21:40+00:00","article_modified_time":"2024-01-25T11:21:43+00:00","og_image":[{"width":2240,"height":1260,"url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/css-trigonometric-functions.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\/css-trigonometric-functions\/#article","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/"},"author":{"name":"codeflare","@id":"https:\/\/codeflarelimited.com\/blog\/#\/schema\/person\/7e65653d49add95629f8c1053c5cd76a"},"headline":"CSS Trigonometric Functions","datePublished":"2024-01-25T11:21:40+00:00","dateModified":"2024-01-25T11:21:43+00:00","mainEntityOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/"},"wordCount":361,"commentCount":0,"publisher":{"@id":"https:\/\/codeflarelimited.com\/blog\/#organization"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/css-trigonometric-functions.png","articleSection":["Cascading style sheet","softare development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/","url":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/","name":"CSS Trigonometric Functions","isPartOf":{"@id":"https:\/\/codeflarelimited.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#primaryimage"},"image":{"@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/css-trigonometric-functions.png","datePublished":"2024-01-25T11:21:40+00:00","dateModified":"2024-01-25T11:21:43+00:00","description":"You already know of min(), max() and calc(). But did you know that as of December 2022, CSS trigonometric functions were introduced","breadcrumb":{"@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#primaryimage","url":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/css-trigonometric-functions.png","contentUrl":"https:\/\/codeflarelimited.com\/blog\/wp-content\/uploads\/2024\/01\/css-trigonometric-functions.png","width":2240,"height":1260,"caption":"css trigonometric functions"},{"@type":"BreadcrumbList","@id":"https:\/\/codeflarelimited.com\/blog\/css-trigonometric-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codeflarelimited.com\/blog\/"},{"@type":"ListItem","position":2,"name":"softare development","item":"https:\/\/codeflarelimited.com\/blog\/softare-development\/"},{"@type":"ListItem","position":3,"name":"CSS Trigonometric Functions"}]},{"@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\/2024\/01\/css-trigonometric-functions.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1625","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=1625"}],"version-history":[{"count":2,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1625\/revisions"}],"predecessor-version":[{"id":1628,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/posts\/1625\/revisions\/1628"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media\/1627"}],"wp:attachment":[{"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/media?parent=1625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/categories?post=1625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codeflarelimited.com\/blog\/wp-json\/wp\/v2\/tags?post=1625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}