{"id":6063,"date":"2016-10-31T17:31:15","date_gmt":"2016-10-31T16:31:15","guid":{"rendered":"https:\/\/www.creativejuiz.fr\/blog\/en\/?p=6063"},"modified":"2023-08-24T13:44:55","modified_gmt":"2023-08-24T11:44:55","slug":"customize-checkbox-and-radio-button-with-css","status":"publish","type":"post","link":"https:\/\/www.creativejuiz.fr\/blog\/en\/tutorials\/customize-checkbox-and-radio-button-with-css","title":{"rendered":"How to code customized checkbox and radio buttons with CSS"},"content":{"rendered":"\n<p>In the past, I worked on several projects looking for a way to deal with custom styles proposed by some good designers to change the aspect like border color, check icon, animation, of form controls like checkbox, radio, file input, etc. As you may know, these elements are historically not style-able for accessibility reasons. (as I&#8217;ve heard). Still. I have a way to code custom accessible checkboxes and radio buttons for all devices. Ready?<br><\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Pieces of code and styles I will show you use CSS level 3 selectors. Old browsers are not concerned by the changes I&#8217;m going to propose. An automatic fallback to the classical old styles will benefit to these old engines, just in case your user is still using an old device or not on modern browsers.<\/p>\n\n\n\n<p>This blog post is a translation from the 2013 <a href=\"https:\/\/www.creativejuiz.fr\/blog\/tutoriels\/personnaliser-aspect-boutons-radio-checkbox-css\">original post<\/a> written in french. The technique used here is still used in production and works really fine for all your users.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why would we style checkboxes or radio buttons?<\/h2>\n\n\n\n<p>To harmonize styles between browsers, for sure, but also to make some of them more effective in precise contexts. One of the most common need (to me) of using CSS on a native checkbox to improve default styling, is to improve accessibility in a \u201ctouch devices context\u201d for the user with no accurate gesture. Tap-able area for checkbox and radio are often so small, too small. And the default border is barely visible on the default checkboxes..<\/p>\n\n\n\n<p>Also, <a href=\"https:\/\/www.creativejuiz.fr\/blog\/en\/user-experience\/there-is-no-myths-of-color-contrast-accessibility\">color contrasts<\/a> on default checkboxes on Mac for instance, are really poor. I can&#8217;t even understand why it is so badly designed. That&#8217;s why I consider this cool checkbox also a good way to improve user experience.<\/p>\n\n\n\n<p>Maybe your goal is elsewhere, so I&#8217;m not gonna go deeper into the reasons, let&#8217;s jump into my technical solution.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Slightly modify the checkbox design<\/h2>\n\n\n\n<p>With this example, we will write a solid code base for our CSS. It will give me the possibility to explain how selectors are working with these simple checkboxes.<br>What I want to get as checkbox design.<\/p>\n\n\n<div class=\"wp-block-image size-full wp-image-6865\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"1520\" height=\"732\" src=\"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/styled-checkbox-with-css.png\" alt=\"Left column: not sylted checkboxes, right columns the styled ones. Much better!\" class=\"wp-image-6865\" srcset=\"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/styled-checkbox-with-css.png 1520w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/styled-checkbox-with-css-300x144.png 300w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/styled-checkbox-with-css-768x370.png 768w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/styled-checkbox-with-css-600x289.png 600w\" sizes=\"(max-width: 1520px) 100vw, 1520px\" \/><figcaption class=\"wp-element-caption\">Not styled (left) VS styled (right)<\/figcaption><\/figure>\n<\/div>\n\n\n<p>As you can see, these are simple checkboxes, without complex layout: a colored border, a check icon and even some focus styles I&#8217;m going to detail in the code.<\/p>\n\n\n\n<p><a class=\"demonstration\" href=\"\/trytotry\/custom-checkbox-full-css3-soft.html\">See the demo<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">HTML &#8211; Checkbox code base<\/h3>\n\n\n\n<p>Let&#8217;s start with the HTML code. A simply composed code with one <code class=\"element\">label<\/code> and one <code class=\"element\">input<\/code> in each <code class=\"element\">p<\/code>.<\/p>\n\n\n<div class=\"wp-block-wab-pastacode\">\n\t<div class=\"code-embed-wrapper\"> <pre class=\"language-markup code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markup code-embed-code\">&lt;p id=&quot;label&quot;&gt;Do you like?&lt;\/p&gt;<br\/>&lt;p&gt;<br\/>\t&lt;input type=&quot;checkbox&quot; id=&quot;test1&quot; \/&gt;<br\/>\t&lt;label for=&quot;test1&quot; aria-describedby=&quot;label&quot;&gt;Red&lt;\/label&gt;<br\/>&lt;\/p&gt;<br\/>&lt;p&gt;<br\/>\t&lt;input type=&quot;checkbox&quot; id=&quot;test2&quot; checked=&quot;checked&quot; \/&gt;<br\/>\t&lt;label for=&quot;test2&quot; aria-describedby=&quot;label&quot;&gt;Green&lt;\/label&gt;<br\/>&lt;\/p&gt;<br\/>&lt;p&gt;<br\/>\t&lt;input type=&quot;checkbox&quot; id=&quot;test3&quot; disabled \/&gt;<br\/>\t&lt;label for=&quot;test3&quot; aria-describedby=&quot;label&quot;&gt;Blue&lt;\/label&gt;<br\/>&lt;\/p&gt;<br\/>&lt;p&gt;<br\/>\t&lt;input type=&quot;checkbox&quot; id=&quot;test4&quot;  checked=&quot;checked&quot; disabled \/&gt;<br\/>\t&lt;label for=&quot;test4&quot; aria-describedby=&quot;label&quot;&gt;White&lt;\/label&gt;<br\/>&lt;\/p&gt;<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div><\/div>\n\n\n\n<p>You have now in the order 4 checkboxes: 1 empty, 1 checked and 1 disabled and 1 disabled checked. For the focus styles, you&#8217;ll need to use the tab key will testing the page, but let&#8217;s style it before that.<\/p>\n\n\n\n<p>Please be careful with the <code>ID<\/code> and <code>FOR<\/code> attributes. You have to &#8220;link&#8221; label and checkbox together thanks to these attributes, by giving them the same value. It&#8217;s mandatory for accessibility reason, and for the trick to work. The bonus effect is that on clicking the label, the switch will work too.<\/p>\n\n\n\n<p>Note that the code doesn&#8217;t use <code>span<\/code> elements. However, <code>span<\/code> could be useful for more complex checkbox design solutions. We don&#8217;t use checkbox image neither, that&#8217;s for other kind of concepts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CSS &#8211; Customize checkboxes<\/h2>\n\n\n\n<p>The <code>input:checkbox<\/code> element is not style-able, not that much, not enough. We will play with the styles of the <code>label<\/code> element and its two pseudo-elements as we voluntarily didn&#8217;t used <code>span<\/code>elements.<\/p>\n\n\n<div class=\"wp-block-wab-pastacode\">\n\t<div class=\"code-embed-wrapper\"> <pre class=\"language-css code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-css code-embed-code\">form p {<br\/>\tposition: relative; \/* allows to position the checkbox *\/<br\/>}<br\/><br\/>[type=&quot;checkbox&quot;]:not(:checked), <br\/>[type=&quot;checkbox&quot;]:checked {<br\/>\t\/* Hide the checkbox without<br\/>\t   making it hidden for the<br\/>\t   screen readers *\/<br\/>\tposition: absolute;<br\/>\tleft: 0;<br\/>\topacity: 0.01;<br\/>}<br\/><br\/>\/* Prepare the label *\/<br\/>[type=&quot;checkbox&quot;]:not(:checked)   label,<br\/>[type=&quot;checkbox&quot;]:checked   label {<br\/>\tposition: relative; \/* allows to position the custom boxes *\/<br\/>\tpadding-left: 2.3em; \/* room for upcoming boxes *\/<br\/>\tfont-size: 1.05em;<br\/>\tline-height: 1.7;<br\/>\tcursor: pointer; <br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">Backward compatible version<\/span> <\/div> <\/div><\/div>\n\n\n\n<p>It&#8217;s precisely in those selectors that you will find the magic: It&#8217;ll display custom checkbox with my recent browser, and classical ones with my old browser. If you don&#8217;t need to support old browser (below IE11), you can use a easier to write code.<\/p>\n\n\n<div class=\"wp-block-wab-pastacode\">\n\t<div class=\"code-embed-wrapper\"> <pre class=\"language-css code-embed-pre line-numbers\"  data-line=\"5, 15\" data-start=\"1\" data-line-offset=\"0\"><code class=\"language-css code-embed-code\">form p {<br\/>\tposition: relative; \/* allows to position the checkbox *\/<br\/>}<br\/><br\/>[type=&quot;checkbox&quot;] {<br\/>\t\/* Hide the checkbox without<br\/>\t   making it hidden for the<br\/>\t   screen readers *\/<br\/>\tposition: absolute;<br\/>\tleft: 0;<br\/>\topacity: 0.01;<br\/>}<br\/><br\/>\/* Prepare the label *\/<br\/>[type=&quot;checkbox&quot;]   label {<br\/>\tposition: relative; \/* allows to position the custom boxes *\/<br\/>\tpadding-left: 2.3em; \/* room for upcoming boxes *\/<br\/>\tfont-size: 1.05em;<br\/>\tline-height: 1.7;<br\/>\tcursor: pointer; <br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">More simple version<\/span> <\/div> <\/div><\/div>\n\n\n\n<p>As you can see, the selectors are simpler, I removed all the <code>:not(:checked)<\/code> and <code>:checked<\/code> part I used to make sure Internet Explorer doesn&#8217;t understand the whole selector. Otherwise it tooks only part of the style and it makes it unusable for IE users.<\/p>\n\n\n\n<p>A bit of explanation in the code itself: <strong>The first declaration<\/strong> allows you to place the checkbox under the upcoming custom checkbox to hide it visually without using <code>display:none;<\/code> or <code>opacity: 0;<\/code> and to preserve readability for screen readers. <strong>The second one<\/strong> makes the label element more attractive. The space is done to fit the future checkbox size.<br>The <code>relative<\/code> position is useful here to precisely place the checkbox (the <code>label<\/code> becoming the reference).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Targetting only recent browsers<\/h4>\n\n\n\n<p>All our custom styles will use this type of selector: <code>[type=\"checkbox\"]:checked<\/code> or <code>[type=\"checkbox\"]:not(:checked)<\/code> in there declaration. Which means if the web browser doesn&#8217;t recognize the selector, these styles will not be applied. It&#8217;s a kind of feature detection thanks to the selector.<\/p>\n\n\n\n<p>If you don&#8217;t have to support IE below version 11, use the second syntax I provided just above.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Create the custom CSS checkboxes<\/h3>\n\n\n\n<p>Now, we will visually create the checkboxes thanks to <code>::after<\/code> (the check symbol) and <code>::before<\/code> (to make the box) pseudo-elements.<\/p>\n\n\n<div class=\"wp-block-wab-pastacode\">\n\t<div class=\"code-embed-wrapper\"> <pre class=\"language-css code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-css code-embed-code\">\/* Box aspect *\/<br\/>[type=&quot;checkbox&quot;]:not(:checked)   label::before,<br\/>[type=&quot;checkbox&quot;]:checked   label::before {<br\/>\tcontent: &#039;&#039;;<br\/>\tposition: absolute;<br\/>\tleft: 0;<br\/>\ttop: 0;<br\/>\twidth: 1.4em;<br\/>\theight: 1.4em;<br\/>\tborder: 1px solid #aaa;<br\/>\tbackground: #FFF;<br\/>\tborder-radius: .2em;<br\/>\tbox-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 rgba(203, 34, 237, .2);<br\/>\ttransition: all .275s;<br\/>}<br\/><br\/>\/* Check aspect *\/<br\/>[type=&quot;checkbox&quot;]:not(:checked)   label::after,<br\/>[type=&quot;checkbox&quot;]:checked   label::after {<br\/>\tcontent: &#039;\u2715&#039;;<br\/>\tspeak: never; \/* To be sure screen reader won&#039;t read &quot;times&quot; *\/<br\/>\tposition: absolute;<br\/>\ttop: .525em;<br\/>\tleft: .18em;<br\/>\tfont-size: 1.375em;<br\/>\tcolor: #CB22ED;<br\/>\tline-height: 0;<br\/>\ttransition: all .2s; \/* Little transition *\/<br\/>}<br\/><br\/>\/* Unchecked aspect *\/<br\/>[type=&quot;checkbox&quot;]:not(:checked)   label::after {<br\/>\topacity: 0;<br\/>\ttransform: scale(0) rotate(45deg);<br\/>}<br\/><br\/>\/* Checked aspect *\/<br\/>[type=&quot;checkbox&quot;]:checked   label::after {<br\/>\topacity: 1;<br\/>\ttransform: scale(1) rotate(0);<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <span class=\"code-embed-name\">CSS for custom checkboxes<\/span> <\/div> <\/div><\/div>\n\n\n\n<p>The first two declarations are for the box and the check symbol aspects (size, color, etc). The two next define the states: not-checked or checked. An animation is played because of the <code>transition<\/code> property.<\/p>\n\n\n\n<p>We need the checkbox label to make use of our pseudo &#8211; elements because <code>input<\/code> elements like <code>checkbox<\/code> element usually don&#8217;t support pseudo &#8211; elements, because inputs are &#8220;widgets&#8221; for our browsers.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Styling different checkbox states<\/h3>\n\n\n\n<p>Basics done, now we will set the other status: disabled, disabled checked, focused). Find below some styling ideas, but feel free to edit them.<\/p>\n\n\n<div class=\"wp-block-wab-pastacode\">\n\t<div class=\"code-embed-wrapper\"> <pre class=\"language-css code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-css code-embed-code\">\/* Disabled checkbox *\/<br\/>[type=&quot;checkbox&quot;]:disabled:not(:checked)   label::before,<br\/>[type=&quot;checkbox&quot;]:disabled:checked   label::before {<br\/>\tbox-shadow: none;<br\/>\tborder-color: #bbb;<br\/>\tbackground-color: #e9e9e9;<br\/>}<br\/><br\/>\/* Disabled checked *\/<br\/>[type=&quot;checkbox&quot;]:disabled:checked   label::after {<br\/>\tcolor: #777;<br\/>}<br\/><br\/>[type=&quot;checkbox&quot;]:disabled   label {<br\/>\tcolor: #aaa;<br\/>}<br\/><br\/>\/* Accessibility focus *\/<br\/>[type=&quot;checkbox&quot;]:checked:focus   label::before,<br\/>[type=&quot;checkbox&quot;]:not(:checked):focus   label::before {<br\/>\tbox-shadow: inset 0 1px 3px rgba(0,0,0, .1), 0 0 0 6px rgba(203, 34, 237, .2);<br\/>}<\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div><\/div>\n\n\n\n<p>That&#8217;s all for these custom styles.<\/p>\n\n\n\n<p>Don&#8217;t forget to use vendor prefix with some of the CSS3 properties if you still need to support those.<\/p>\n\n\n\n<p>As you can see, I didn&#8217;t use icon fonts here, but if yo already use one on your site, use the decorative icon that correspond to your style.<br>Same for the focus styles, you can adjust the interaction effect using a different focus outline, or dotted borders or any style that would match your identity. If the border is too complex to style, you can use the outline property (which will soon respect the border radius, good for your radio fields too).<\/p>\n\n\n\n<p>And with this CSS and HTML code, we made the checkbox accessible. Pretty neat for a fake checkbox isn&#8217;t it? It&#8217;s even compatible with touch devices and assistive technology.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">With CSS Design Checkbox that are more advanced<\/h3>\n\n\n\n<p>I will not explain everything about this demonstration, the idea is exactly the same. You can now compose a more complex HTML code using <code>span<\/code> for instance, and the same logic, pseudo-classes and pseudo-elements.<\/p>\n\n\n\n<p>Here another idea of what you can do with this code, with this accessible switch demonstration.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><a href=\"\/trytotry\/custom-checkbox-full-css3-flat-ui.html\"><img decoding=\"async\" width=\"600\" height=\"194\" src=\"\/blog\/wp-content\/uploads\/2013\/06\/checkbox-flat-ui.png\" alt=\"checkbox-flat-ui\" class=\"wp-image-3539\" srcset=\"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/checkbox-flat-ui.png 600w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/checkbox-flat-ui-300x97.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p><a class=\"demo\" href=\"\/trytotry\/custom-checkbox-full-css3-flat-ui.html\">See the demo<\/a><\/p>\n\n\n\n<p>These two demonstrations are using respectively <code>em<\/code> and pixel unit (<code>px<\/code>) to make examples more understandable for this last one. You should try with&nbsp; <code>em<\/code>, <code>%<\/code> or <code>rem<\/code> to create a more flexible and maintainable code for these toggle switches, depending on your experience and web project.<\/p>\n\n\n\n<p>We didn&#8217;t use background images for obvious quality and accessibility reasons, but you could replace this idea of background images with SVG icon, like this demo that uses an smooth ease animation.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Styling Radio Buttons<\/h2>\n\n\n\n<p>Hey! Now you got the idea and this example of code with checkboxes, I&#8217;m sure you can handle it with radio buttons or toggle switches. I won&#8217;t go into the code, but if you need any advice, jump into the comments section or reach me on <a href=\"https:\/\/twitter.com\/geoffreycrofte\">Twitter<\/a>. I&#8217;ll help you \ud83d\ude0a<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Looking for ideas?<\/h2>\n\n\n\n<p>Now you can do what you want with checkboxes (or radio), find below so inspiration to go further.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"213\" src=\"\/blog\/wp-content\/uploads\/2013\/06\/animated-checkboxes.png\" alt=\"Checkbox anim\u00e9e\" class=\"wp-image-3535\" srcset=\"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/animated-checkboxes.png 600w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/animated-checkboxes-300x106.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n\n\n<p><a href=\"http:\/\/codepen.io\/beben-koben\/pen\/Jsfqu\"><br>Animated Checkboxes<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"286\" src=\"\/blog\/wp-content\/uploads\/2013\/06\/checkbox-lightsaber.png\" alt=\"checkbox-lightsaber\" class=\"wp-image-3536\" srcset=\"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/checkbox-lightsaber.png 600w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/checkbox-lightsaber-300x143.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n\n\n<p><a href=\"http:\/\/cssdeck.com\/labs\/pure-css3-star-wars-lightsaber-checkboxes\"><br>Light Saber Checkboxes<\/a><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"600\" height=\"151\" src=\"\/blog\/wp-content\/uploads\/2013\/06\/checkbox-styles.png\" alt=\"checkbox-styles\" class=\"wp-image-3537\" srcset=\"https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/checkbox-styles.png 600w, https:\/\/www.creativejuiz.fr\/blog\/wp-content\/uploads\/2013\/06\/checkbox-styles-300x75.png 300w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/figure>\n<\/div>\n\n\n<p><a href=\"http:\/\/cssdeck.com\/labs\/css-checkbox-styles\"><br>Other ideas for checkboxes<\/a><\/p>\n\n\n\n<p>And yes, really, you can do the same with radio buttons. Did you try?<\/p>\n\n\n\n<p>If you want to learn more on readable, usable and accessible forms, read <a href=\"https:\/\/www.gerireid.com\/forms.html\">this article about forms<\/a> by Geri Reid.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In the past, I worked on several projects looking for a way to deal with custom styles proposed by some good designers to change the aspect like border color, check icon, animation, of form controls like checkbox, radio, file input, etc. As you may know, these elements are historically not style-able for accessibility reasons. (as [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":7497,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_bluesky_dont_syndicate":"","_bluesky_syndication_accounts":"","_bluesky_syndication_text":"","footnotes":""},"categories":[652,647],"tags":[889,888,800,887],"coauthors":[597],"class_list":["post-6063","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-css3","category-tutorials","tag-custom-en","tag-forms-en","tag-input-en","tag-webforms"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/6063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/comments?post=6063"}],"version-history":[{"count":3,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/6063\/revisions"}],"predecessor-version":[{"id":8514,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/posts\/6063\/revisions\/8514"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/media\/7497"}],"wp:attachment":[{"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/media?parent=6063"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/categories?post=6063"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/tags?post=6063"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.creativejuiz.fr\/blog\/en\/wp-json\/wp\/v2\/coauthors?post=6063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}