{"id":51,"date":"2017-02-17T20:17:36","date_gmt":"2017-02-17T20:17:36","guid":{"rendered":"http:\/\/wordpress.library.illinois.edu\/wp-training\/?page_id=51"},"modified":"2018-03-06T22:36:12","modified_gmt":"2018-03-06T22:36:12","slug":"collapsible-panes-2","status":"publish","type":"page","link":"https:\/\/wordpress.library.illinois.edu\/wp-training\/shortcodes\/collapsible-panes-2\/","title":{"rendered":"Collapsible panes"},"content":{"rendered":"<h2>When to use<\/h2>\n<p>Collapsible panes\u00a0allow you to hide chunks of text in a hidden pane and reveal them when a user clicks the pane&#8217;s header. This feature can be helpful, for example, when creating long lists of lists where you want to keep the list headings above-the-fold. Collapsible panes are a bit more involved than some other shortcodes, but they are still relatively easy to master!<\/p>\n<h2>Basic Usage: <\/h2>\n<p>[collapse-pane title=\"Heading\"]Content[endcollapse-pane]<\/p>\n<ol>\n<li><strong>Begin opening the collapsible pane:<\/strong><br \/>\n[collapse-pane<\/li>\n<li><strong>Add the required title attribute, set its value to the heading you would like to appear at the top of the pane, and add the final bracket:<\/strong><br \/>\ntitle=&#8221;The heading of a collapsible pane.]<\/li>\n<li><strong>Add the content to be shown in the pane:<\/strong><br \/>\nContent of the collapsible pane.<\/li>\n<li><strong>Close the collapsible pane:<\/strong><br \/>\n[endcollapse-pane]<\/li>\n<\/ol>\n<h3>Results<\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;The heading of a collapsible pane.&#8221;&#093;<br \/>\nContent of the collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-neutral-200 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">The heading of a collapsible pane.<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id1_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id1_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id1\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id1\" aria-controls=\"ui-lib-coll-pan-id1\" aria-expanded=\"false\" title=\"The heading of a collapsible pane.\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id1\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nContent of the collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/p>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-red-200 !sh-text-red-800 \"><div><div class=\"\"><span class=\" fa fa-exclamation-triangle\" aria-hidden=\"true\"><\/span> Special characters, quotation marks, asterisks etc. in a <code>title<\/code> value must be entered as HTML entities. See examples below. More about HTML entities at <a href=\"https:\/\/www.w3schools.com\/html\/html_entities.asp\">W3 Schools<\/a><\/div><\/div><\/div><\/p>\n<h2><code>color<\/code> attribute<\/h2>\n<p>Just like regular panes <code>&#091;collapse-pane&#093;<\/code> has one optional attribute: <code>color<\/code>. This attribute changes the background color or the pane. <code>color<\/code> has six allowable values: <code>blue, gray, green, light-gray, orange<\/code> and <code>red<\/code>. Below are <code> color<\/code> attribute usage examples along with HTML entity examples of special characters in titles.<\/p>\n<h3><code>color=\"blue\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;The &amp;quot;Title&amp;quot; of a blue collapsible pane with HTML entity double quotation marks around the word title.&#8221; color=&#8221;blue&#8221;&#093;<br \/>\nSome interesting content in a blue collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-blue-100 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">The &quot;Title&quot; of a blue collapsible pane with HTML entity double quotation marks around the word title.<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-blue-100 !sh-text-black !sh-no-underline ui-lib-coll-pan-id2_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-blue-100 !sh-text-black !sh-no-underline ui-lib-coll-pan-id2_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id2\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id2\" aria-controls=\"ui-lib-coll-pan-id2\" aria-expanded=\"false\" title=\"The &quot;Title&quot; of a blue collapsible pane with HTML entity double quotation marks around the word title.\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id2\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a blue collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"gray\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;A gray collapsible pane with a copyright symbol HTML entity in the heading &amp;copy;&#8221; color=&#8221;gray&#8221;&#093;<br \/>\nSome interesting content in a gray collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-neutral-300 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A gray collapsible pane with a copyright symbol HTML entity in the heading &copy;<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-300 !sh-text-black !sh-no-underline ui-lib-coll-pan-id3_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-300 !sh-text-black !sh-no-underline ui-lib-coll-pan-id3_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id3\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id3\" aria-controls=\"ui-lib-coll-pan-id3\" aria-expanded=\"false\" title=\"A gray collapsible pane with a copyright symbol HTML entity in the heading &copy;\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id3\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a blue collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"green\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;A green collapsible pane with a trademark symbol HTML entity in the heading &amp;reg;&#8221; color=&#8221;green&#8221;&#093;<br \/>\nSome interesting content in a green collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-light_green !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A green collapsible pane with a trademark symbol HTML entity in the heading &reg;<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-light_green !sh-text-black !sh-no-underline ui-lib-coll-pan-id4_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-light_green !sh-text-black !sh-no-underline ui-lib-coll-pan-id4_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id4\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id4\" aria-controls=\"ui-lib-coll-pan-id4\" aria-expanded=\"false\" title=\"A green collapsible pane with a trademark symbol HTML entity in the heading &reg;\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id4\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a green collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"light-gray\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;A light-gray collapsible pane with an apostrophe HTML entity in the heading &amp;apos;&#8221; color=&#8221;light-gray&#8221;&#093;<br \/>\nSome interesting content in a light-gray collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-neutral-200 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A light-gray collapsible pane with an apostrophe HTML entity in the heading &apos;<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id5_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-neutral-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id5_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id5\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id5\" aria-controls=\"ui-lib-coll-pan-id5\" aria-expanded=\"false\" title=\"A light-gray collapsible pane with an apostrophe HTML entity in the heading &apos;\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id5\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a light-gray collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"orange\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;An orange  collapsible pane with quotation mark and  apostrophe HTML entities in the heading: &amp;quot;Pilgrim&amp;apos;s progress&amp;quot;&#8221; color=&#8221;orange&#8221;&#093;<br \/>\nSome interesting content in a orange collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-orange-200 !sh-text-black sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">An orange  collapsible pane with quotation mark and  apostrophe HTML entities in the heading: &quot;Pilgrim&apos;s progress&quot;<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-orange-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id6_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-orange-200 !sh-text-black !sh-no-underline ui-lib-coll-pan-id6_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id6\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id6\" aria-controls=\"ui-lib-coll-pan-id6\" aria-expanded=\"false\" title=\"An orange  collapsible pane with quotation mark and  apostrophe HTML entities in the heading: &quot;Pilgrim&apos;s progress&quot;\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id6\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in an orange collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n<h3><code>color=\"red\"<\/code><\/h3>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-blue-100 !sh-text-black \"><div><div class=\"\"><div class=\"shortcode sh-grid sh-grid-cols-1 md:sh-grid-cols-12 sh-gap-3\"><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Code<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n&#091;collapse-pane title=&#8221;A red collapsible pane with Pound Sterling, Euro, and cent HTML entities in the heading: &amp;pound; &amp;euro; &amp;cent;&#8221; color=&#8221;red&#8221;&#093;<br \/>\nSome interesting content in a red collapsible pane.<br \/>\n&#091;endcollapse-pane&#093;<\/div><\/div><\/div><\/div><div class=\"shortcode sh-col-span-6 sh-pb-3\"><\/p>\n<h4>Rendering<\/h4>\n<p><div class=\"shortcode sh-p-4 sh-rounded sh-drop-shadow-sm sh-bg-white !sh-text-black !sh-border  \"><div><div class=\"\"><br \/>\n\n  <div id=\"ui_lib_panel\" class=\"shortcode sh-w-full !sh-border !sh-border-gray-300 sh-drop-shadow-sm sh-mb-2\">\n    \n    <div class=\"shortcode sh-w-full sh-px-3 sh-py-1.5 sh-bg-red-200 !sh-text-red-800 sh-flex sh-justify-between sh-items-center sh-relative\">\n      <div><span class=\"shortcode sh-text-base sh-font-semibold sh-no-underline\">A red collapsible pane with Pound Sterling, Euro, and cent HTML entities in the heading: &pound; &euro; &cent;<\/span><\/div>\n      <div>\n        <div class=\"sh-flex sh-flex-col\"> \n          <div><span class=\"shortcode sh-text-xs sh-transition sh-duration-500 sh-ease-in-out sh-bg-red-200 !sh-text-red-800 !sh-no-underline ui-lib-coll-pan-id7_label\" > expand <\/span><\/div>\n          <div class=\"sh-flex sh-justify-center -sh-mt-1\"><i class=\"shortcode fa-solid fa-caret-down sh-text-xl sh-font-semibold sh-transition sh-duration-500 sh-ease-in-out sh-bg-red-200 !sh-text-red-800 !sh-no-underline ui-lib-coll-pan-id7_arrow\" ><\/i> <\/div>\n        <\/div>\n      <\/div>\n      <button type=\"button\" id=\"ui-lib-coll-pan-id7\" class=\"shortcode sh-absolute sh-top-0 sh-left-0 sh-w-full sh-h-full sh-bg-transparent focus:sh-outline-none focus-visible:sh-ring focus-visible:sh-ring-orange-700\" data-toggle=\"ui_lib_collapse\" data-target=\".ui-lib-coll-pan-id7\" aria-controls=\"ui-lib-coll-pan-id7\" aria-expanded=\"false\" title=\"A red collapsible pane with Pound Sterling, Euro, and cent HTML entities in the heading: &pound; &euro; &cent;\"><\/button>\n    <\/div>\n  <div class=\"shortcode sh-text-black sh-block sh-h-auto sh-max-h-0 sh-overflow-hidden sh-transition-max-height sh-duration-500 sh-ease-in-out ui-lib-coll-pan-id7\"  inert>\n      <div class=\"shortcode sh-px-2 sh-py-2\"><br \/>\nSome interesting content hidden in a red collapsible pane.<br \/>\n<\/div><\/div><\/div><br \/>\n<\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When to use Collapsible panes\u00a0allow you to hide chunks of text in a hidden pane and reveal them when a user clicks the pane&#8217;s header. This feature can be helpful, for example, when creating long lists of lists where you want to keep the list headings above-the-fold. Collapsible panes are a bit more involved than [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":0,"parent":24,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-51","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/51","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/comments?post=51"}],"version-history":[{"count":10,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/51\/revisions"}],"predecessor-version":[{"id":1490,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/51\/revisions\/1490"}],"up":[{"embeddable":true,"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/pages\/24"}],"wp:attachment":[{"href":"https:\/\/wordpress.library.illinois.edu\/wp-training\/wp-json\/wp\/v2\/media?parent=51"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}