{"id":2547,"date":"2017-10-31T18:27:43","date_gmt":"2017-10-31T18:27:43","guid":{"rendered":"http:\/\/stack.tommusdemos.wpengine.com\/?page_id=2547"},"modified":"2017-10-31T18:27:43","modified_gmt":"2017-10-31T18:27:43","slug":"elements-progress-bars","status":"publish","type":"page","link":"https:\/\/csd.iitgn.ac.in\/wp\/elements\/elements-progress-bars\/","title":{"rendered":"Elements &#8211; Progress Bars"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column]\n\t\t\t<section class=\"imagebg image--light cover cover-blocks bg--secondary \" >\n\t\t\t\t<div class=\"background-image-holder\"><img loading=\"lazy\" decoding=\"async\" width=\"3600\" height=\"1762\" src=\"https:\/\/csd.iitgn.ac.in\/wp\/wp-content\/uploads\/2017\/01\/promo-1.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/csd.iitgn.ac.in\/wp\/wp-content\/uploads\/2017\/01\/promo-1.jpg 3600w, https:\/\/csd.iitgn.ac.in\/wp\/wp-content\/uploads\/2017\/01\/promo-1-300x147.jpg 300w, https:\/\/csd.iitgn.ac.in\/wp\/wp-content\/uploads\/2017\/01\/promo-1-768x376.jpg 768w, https:\/\/csd.iitgn.ac.in\/wp\/wp-content\/uploads\/2017\/01\/promo-1-1024x501.jpg 1024w\" sizes=\"auto, (max-width: 3600px) 100vw, 3600px\" \/><\/div>\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-6 col-md-5\">\n\t\t\t\t\t\t\t<div>[vc_column_text]<\/p>\n<h1><span>Progress Bars<\/span><\/h1>\n<p class=\"lead\"><span>These modular elements can be readily used and customized across pages and in different blocks.<\/span><\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the <a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end of row-->\n\t\t\t\t<\/div><!--end of container-->\n\t\t\t\t\n\t\t\t<\/section>\n\t\t[\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498221033755{padding-top: 0px !important;}&#8221;][vc_row][vc_column][vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJhbGVydCUyMGJnLS1lcnJvciUyMiUzRSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUzQ2RpdiUyMGNsYXNzJTNEJTIyYWxlcnRfX2JvZHklMjIlM0UlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlM0NzcGFuJTNFJTNDc3Ryb25nJTNFTm90ZSUzQSUzQyUyRnN0cm9uZyUzRSUyMFRoZSUyMGVsZW1lbnRzJTIwaW4lMjB0aGlzJTIwcGFnZSUyMGFyZSUyMGN1cnJlbnRseSUyMGF2YWlsYWJsZSUyMHRvJTIwVmlzdWFsJTIwQ29tcG9zZXIlMjBvbmx5JTIwJTI4bm90JTIwVmFyaWFudCUyOSUzQyUyRnNwYW4lM0UlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlM0MlMkZkaXYlM0UlMEElMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlMjAlM0NkaXYlMjBjbGFzcyUzRCUyMmFsZXJ0X19jbG9zZSUyMiUzRSVDMyU5NyUzQyUyRmRpdiUzRSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUzQyUyRmRpdiUzRQ==[\/vc_raw_html][vc_empty_space][\/vc_column][\/vc_row][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Basic Markup<\/h4>\n<p>Stack&#8217;s horizontal progress bars use simple and uncluttered markup, using a simple data attribute to assign the bar its progress value.<\/p>\n<p>In its most basic form the bar requires a parent <strong>.progress-horizontal<\/strong>element with a child <strong>.progress-horizontal__bar<\/strong> element. This element requires the <strong>data-value<\/strong> attribute which should be assigned a numeric value from 1 &#8211; 100 (Note: there is no need to add a &#8216;%&#8217; symbol to the attribute).<\/p>\n<p>The label that appears below is represented by a <strong>span<\/strong> element with class <strong>.progress-horizontal__label<\/strong>[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;]\n\t\t<div class=\"progress-horizontal \">\n\t\t    <div class=\"progress-horizontal__bar\" data-value=\"80\"><\/div>\n\t\t    <span class=\"progress-horizontal__label h5\">80%<\/span>\n\t\t<\/div>\n\t\n\t\t<div class=\"progress-horizontal \">\n\t\t    <div class=\"progress-horizontal__bar\" data-value=\"40\"><\/div>\n\t\t    <span class=\"progress-horizontal__label h5\">40%<\/span>\n\t\t<\/div>\n\t\n\t\t<div class=\"progress-horizontal \">\n\t\t    <div class=\"progress-horizontal__bar\" data-value=\"20\"><\/div>\n\t\t    <span class=\"progress-horizontal__label h5\">20%<\/span>\n\t\t<\/div>\n\t[\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1498221033755{padding-top: 0px !important;}&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Modifying Appearance<\/h4>\n<p>Controlling the appearance of the progress bar is achieved using the following classes added to the <strong>.progress-horizontal<\/strong> element:<\/p>\n<p>NOTE: Animated progress bars are will be added in a forthcoming update.<\/p>\n<ul class=\"bullets\">\n<li><strong>.progress-horizontal&#8211;lg<\/strong> &#8211; Renders a larger progress bar<\/li>\n<li><strong>.progress-horizontal&#8211;sm<\/strong> &#8211; Renders a smaler<\/li>\n<\/ul>\n<p>[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;]\n\t\t<div class=\"progress-horizontal progress-horizontal--lg \">\n\t\t    <div class=\"progress-horizontal__bar\" data-value=\"40\"><\/div>\n\t\t    <span class=\"progress-horizontal__label h5\">40%<\/span>\n\t\t<\/div>\n\t\n\t\t<div class=\"progress-horizontal progress-horizontal--sm\">\n\t\t    <div class=\"progress-horizontal__bar\" data-value=\"20\"><\/div>\n\t\t    <span class=\"progress-horizontal__label h5\">20%<\/span>\n\t\t<\/div>\n\t[\/vc_column][\/vc_row][\/vc_section]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498221033755{padding-top: 0px !important;}&#8221;][vc_row][vc_column][vc_raw_html]JTNDZGl2JTIwY2xhc3MlM0QlMjJhbGVydCUyMGJnLS1lcnJvciUyMiUzRSUwQSUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMCUyMC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;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section css=&#8221;.vc_custom_1498221033755{padding-top: 0px !important;}&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][\/vc_section]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-2547","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/pages\/2547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/comments?post=2547"}],"version-history":[{"count":0,"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/pages\/2547\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/csd.iitgn.ac.in\/wp\/wp-json\/wp\/v2\/media?parent=2547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}