{"id":8686,"date":"2024-01-20T17:55:00","date_gmt":"2024-01-20T17:55:00","guid":{"rendered":"https:\/\/codehim.com\/?p=8686"},"modified":"2024-01-22T15:55:40","modified_gmt":"2024-01-22T10:55:40","slug":"pricing-table-with-css-switch-toggle","status":"publish","type":"post","link":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/","title":{"rendered":"Pricing Table with CSS Switch Toggle"},"content":{"rendered":"<p>This code creates a pricing table with an interactive <a href=\"https:\/\/codehim.com\/text-input\/css-only-toggle-button-with-smooth-transition\/\">toggle switch<\/a> in HTML, CSS, and JavaScript. The switch allows users to switch between annual and monthly pricing plans easily. It enables easy comparison of subscription costs and highlights the selected option.<\/p>\n<p>You can use this code on your website&#8217;s pricing page to enhance user experience. It helps customers quickly toggle between annual and monthly pricing, making it easier for them to choose a subscription plan. This feature can boost conversions and simplify the decision-making process for your potential clients.<\/p>\n<h2>How to Create Pricing Table With CSS Switch Toggle<\/h2>\n<p>1. Start by creating the HTML structure for your <a href=\"https:\/\/codehim.com\/others\/responsive-pricing-table-using-bootstrap\/\" target=\"_blank\" rel=\"noopener\">pricing table<\/a>. You can copy and paste the following HTML code into your project.<\/p>\n<pre class=\"prettyprint linenums lang-html\"> &lt;div class=\"container\"&gt;\r\n    &lt;div class=\"top\"&gt;\r\n      &lt;h1&gt;Plans &amp; Pricing&lt;\/h1&gt;\r\n      &lt;div class=\"toggle-btn\"&gt;\r\n        &lt;span style=\"margin: 0.8em;\"&gt;Annually&lt;\/span&gt;\r\n        &lt;label class=\"switch\"&gt;\r\n          &lt;input type=\"checkbox\" id=\"checbox\" onclick=\"check()\" ; \/&gt;\r\n          &lt;span class=\"slider round\"&gt;&lt;\/span&gt;\r\n        &lt;\/label&gt;\r\n        &lt;span style=\"margin: 0.8em;\"&gt;Monthly&lt;\/span&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n\r\n    &lt;div class=\"package-container\"&gt;\r\n      &lt;div class=\"packages\"&gt;\r\n        &lt;h1&gt;Basic&lt;\/h1&gt;\r\n        &lt;h2 class=\"text1\"&gt;&amp;dollar;9.99&lt;\/h2&gt;\r\n        &lt;h2 class=\"text2\"&gt;&amp;dollar;119.99&lt;\/h2&gt;\r\n        &lt;ul class=\"list\"&gt;\r\n          &lt;li class=\"first\"&gt;2000 Subscribers&lt;\/li&gt;\r\n          &lt;li&gt;12,000 Emails\/month&lt;\/li&gt;\r\n          &lt;li&gt;Multi-User Accounts&lt;\/li&gt;\r\n          &lt;li&gt;Email Support&lt;\/li&gt;\r\n        &lt;\/ul&gt;\r\n        &lt;a href=\"#\" class=\"button button1\"&gt;Start Now&lt;\/a&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div class=\"packages\"&gt;\r\n        &lt;h1&gt;Professional&lt;\/h1&gt;\r\n        &lt;h2 class=\"text1\"&gt;&amp;dollar;19.99&lt;\/h2&gt;\r\n        &lt;h2 class=\"text2\"&gt;&amp;dollar;239.99&lt;\/h2&gt;\r\n        &lt;ul class=\"list\"&gt;\r\n          &lt;li class=\"first\"&gt;Basic +&lt;\/li&gt;\r\n          &lt;li&gt;Landing Pages&lt;\/li&gt;\r\n          &lt;li&gt;Pop-up Forms&lt;\/li&gt;\r\n          &lt;li&gt;Premium Support&lt;\/li&gt;\r\n        &lt;\/ul&gt;\r\n        &lt;a href=\"#\" class=\"button button2\"&gt;Start Now&lt;\/a&gt;\r\n      &lt;\/div&gt;\r\n      &lt;div class=\"packages\"&gt;\r\n        &lt;h1&gt;Master&lt;\/h1&gt;\r\n        &lt;h2 class=\"text1\"&gt;&amp;dollar;29.99&lt;\/h2&gt;\r\n        &lt;h2 class=\"text2\"&gt;&amp;dollar;359.99&lt;\/h2&gt;\r\n        &lt;ul class=\"list\"&gt;\r\n          &lt;li class=\"first\"&gt;Professional +&lt;\/li&gt;\r\n          &lt;li&gt;Marketing Automation&lt;\/li&gt;\r\n          &lt;li&gt;Instagram Ads&lt;\/li&gt;\r\n          &lt;li&gt;Facebook Ads&lt;\/li&gt;\r\n        &lt;\/ul&gt;\r\n        &lt;a href=\"#\" class=\"button button3\"&gt;Start Now&lt;\/a&gt;\r\n      &lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n<\/pre>\n<p>2. Next, we&#8217;ll apply styles to our pricing table using CSS. You can customize the design to match your website&#8217;s theme by modifying the CSS code.<\/p>\n<pre class=\"prettyprint linenums lang-css\">@import url(\"https:\/\/fonts.googleapis.com\/css2?family=Play:wght@400;700&amp;display=swap\");\r\n\r\nbody {\r\n  background-color: #f4f4f4;\r\n\r\n  font-family: \"Play\", sans-serif;\r\n}\r\n\r\n.container {\r\n  width: 100%;\r\n}\r\n\r\n.packages {\r\n  padding: 20px 10px;\r\n  margin: 20px;\r\n  width: 300px;\r\n  padding-bottom: 1.5em;\r\n  height: 100%;\r\n  background-color: #1e2321;\r\n  display: flex;\r\n  flex-direction: column;\r\n  align-items: center;\r\n  text-align: center;\r\n  border-radius: 20px;\r\n  box-shadow: 0 19px 38px rgba(30, 35, 33, 1), 0 15px 12px rgba(30, 35, 33, 0.2);\r\n  flex-wrap: wrap;\r\n  color: #f4f4f4;\r\n}\r\n\r\nh1,\r\nh2 {\r\n  font-size: 2.2em;\r\n}\r\n\r\n.list li {\r\n  font-size: 20px;\r\n  list-style: none;\r\n  border-bottom: 1px solid #f4f4f4;\r\n  padding-inline-start: 0;\r\n  border-width: 1px;\r\n  padding: 10px;\r\n}\r\n\r\n.first {\r\n  margin-top: 40px;\r\n  border-top: 1px solid #f4f4f4;\r\n}\r\n\r\n.list {\r\n  width: 80%;\r\n}\r\n\r\nol,\r\nul {\r\n  padding: 0;\r\n}\r\n\r\n.top {\r\n  display: flex;\r\n  flex-direction: column;\r\n  align-items: center;\r\n}\r\n\r\ninput,\r\nlabel {\r\n  display: inline-block;\r\n  vertical-align: middle;\r\n  margin: 10px 0;\r\n}\r\n\r\n.button {\r\n  padding: 10px 30px;\r\n  text-decoration: none;\r\n  font-size: 1.4em;\r\n  margin: 15px 15px;\r\n  border-radius: 50px;\r\n  color: #f4f4f4;\r\n  transition: all 0.3s ease 0s;\r\n}\r\n\r\n.button:hover {\r\n  transform: scale(1.2);\r\n}\r\n\r\n.button1 {\r\n  background-color: #00cc99;\r\n  box-shadow: 0 0 10px 0 #00cc99 inset, 0 0 20px 2px #00cc99;\r\n}\r\n\r\n.button2 {\r\n  background-color: #ff007c;\r\n  box-shadow: 0 0 10px 0 #ff007c inset, 0 0 20px 2px #ff007c;\r\n}\r\n\r\n.button3 {\r\n  background-color: #ffae42;\r\n  box-shadow: 0 0 10px 0 #ffae42 inset, 0 0 20px 2px #ffae42;\r\n}\r\n\r\n.switch {\r\n  position: relative;\r\n  display: inline-block;\r\n  width: 60px;\r\n  height: 34px;\r\n}\r\n\r\n.switch input {\r\n  opacity: 0;\r\n  width: 0;\r\n  height: 0;\r\n}\r\n\r\n.slider {\r\n  position: absolute;\r\n  cursor: pointer;\r\n  top: 0;\r\n  left: 0;\r\n  right: 0;\r\n  bottom: 0;\r\n  background-color: #1e2321;\r\n  -webkit-transition: 0.4s;\r\n\r\n  box-shadow: 2px 6px 25px #1e2321;\r\n  transform: translate(0px, 0px);\r\n  transition: 0.6s ease transform, 0.6s box-shadow;\r\n}\r\n\r\n.slider:before {\r\n  position: absolute;\r\n  content: \"\";\r\n  height: 26px;\r\n  width: 26px;\r\n  left: 4px;\r\n  bottom: 4px;\r\n  background-color: white;\r\n  -webkit-transition: 0.4s;\r\n  transition: 0.4s;\r\n}\r\n\r\ninput:checked + .slider {\r\n  background-color: #50bfe6;\r\n}\r\n\r\ninput:focus + .slider {\r\n  box-shadow: 0 0 1px #50bfe6;\r\n}\r\n\r\ninput:checked + .slider:before {\r\n  -webkit-transform: translateX(26px);\r\n  -ms-transform: translateX(26px);\r\n  transform: translateX(26px);\r\n}\r\n\r\n.slider.round {\r\n  border-radius: 34px;\r\n}\r\n\r\n.slider.round:before {\r\n  border-radius: 50%;\r\n}\r\n\r\n.package-container {\r\n  display: flex;\r\n  align-items: center;\r\n  justify-content: center;\r\n  flex-wrap: wrap;\r\n}<\/pre>\n<p>3. To make the switch toggle work, we&#8217;ll add JavaScript functionality. This script enables the dynamic switching between annual and monthly prices. Insert the JavaScript code just before the closing <code>&lt;\/body&gt;<\/code> tag in your HTML file.<\/p>\n<pre class=\"prettyprint linenums lang-js\">function check() {\r\n  var checkBox = document.getElementById(\"checbox\");\r\n  var text1 = document.getElementsByClassName(\"text1\");\r\n  var text2 = document.getElementsByClassName(\"text2\");\r\n\r\n  for (var i = 0; i &lt; text1.length; i++) {\r\n    if (checkBox.checked == true) {\r\n      text1[i].style.display = \"block\";\r\n      text2[i].style.display = \"none\";\r\n    } else if (checkBox.checked == false) {\r\n      text1[i].style.display = \"none\";\r\n      text2[i].style.display = \"block\";\r\n    }\r\n  }\r\n}\r\ncheck();<\/pre>\n<p>That&#8217;s all! Hopefully, you&#8217;ve successfully created a Pricing Table with Switch Toggle for your website. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code creates a pricing table with an interactive toggle switch in HTML, CSS, and JavaScript. The switch allows users&#8230;<\/p>\n","protected":false},"author":1,"featured_media":8693,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[63],"tags":[],"class_list":["post-8686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-html5-css3"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pricing Table with CSS Switch Toggle &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Pricing Table with CSS Switch Toggle. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pricing Table with CSS Switch Toggle &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Pricing Table with CSS Switch Toggle. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-20T17:55:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T10:55:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Pricing Table with CSS Switch Toggle\",\"datePublished\":\"2024-01-20T17:55:00+00:00\",\"dateModified\":\"2024-01-22T10:55:40+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\"},\"wordCount\":218,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png\",\"articleSection\":[\"HTML5 &amp; CSS3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\",\"url\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\",\"name\":\"Pricing Table with CSS Switch Toggle &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png\",\"datePublished\":\"2024-01-20T17:55:00+00:00\",\"dateModified\":\"2024-01-22T10:55:40+00:00\",\"description\":\"Here is a free code snippet to create a Pricing Table with CSS Switch Toggle. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png\",\"width\":1280,\"height\":960,\"caption\":\"Pricing Table with CSS Switch Toggle\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"HTML5 &amp; CSS3\",\"item\":\"https:\/\/codehim.com\/category\/html5-css3\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Pricing Table with CSS Switch Toggle\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pricing Table with CSS Switch Toggle &#8212; CodeHim","description":"Here is a free code snippet to create a Pricing Table with CSS Switch Toggle. You can view demo and download the source code.","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:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/","og_locale":"en_US","og_type":"article","og_title":"Pricing Table with CSS Switch Toggle &#8212; CodeHim","og_description":"Here is a free code snippet to create a Pricing Table with CSS Switch Toggle. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-20T17:55:00+00:00","article_modified_time":"2024-01-22T10:55:40+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Pricing Table with CSS Switch Toggle","datePublished":"2024-01-20T17:55:00+00:00","dateModified":"2024-01-22T10:55:40+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/"},"wordCount":218,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png","articleSection":["HTML5 &amp; CSS3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/","url":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/","name":"Pricing Table with CSS Switch Toggle &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png","datePublished":"2024-01-20T17:55:00+00:00","dateModified":"2024-01-22T10:55:40+00:00","description":"Here is a free code snippet to create a Pricing Table with CSS Switch Toggle. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/09\/Pricing-Table-with-CSS-Switch-Toggle.png","width":1280,"height":960,"caption":"Pricing Table with CSS Switch Toggle"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/html5-css3\/pricing-table-with-css-switch-toggle\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"HTML5 &amp; CSS3","item":"https:\/\/codehim.com\/category\/html5-css3\/"},{"@type":"ListItem","position":3,"name":"Pricing Table with CSS Switch Toggle"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":3183,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=8686"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/8686\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/8693"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=8686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=8686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=8686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}