{"id":1432,"date":"2014-11-26T11:14:06","date_gmt":"2014-11-26T10:14:06","guid":{"rendered":"http:\/\/blog.kodono.info\/wordpress\/?p=1432"},"modified":"2014-11-26T11:14:06","modified_gmt":"2014-11-26T10:14:06","slug":"breadcrumb-steps-in-css-that-works-from-ie8-css","status":"publish","type":"post","link":"https:\/\/blog.kodono.info\/wordpress\/2014\/11\/26\/breadcrumb-steps-in-css-that-works-from-ie8-css\/","title":{"rendered":"Breadcrumb \/ steps in CSS that works from IE8 [CSS]"},"content":{"rendered":"<p>I was looking for a simple code for a step by step process indicator. I found a few things, but everyone seems to have forgotten about IE8&#8230; I need to support this old browser at work. So I did my own that I&#8217;m sharing here:<\/p>\n<ul class=\"steps\">\n<li class=\"step complete\">File Uploaded<\/li>\n<li class=\"arrow\">&rarr;<\/li>\n<li class=\"step current\">File Reviewed<\/li>\n<li class=\"arrow\">&rarr;<\/li>\n<li class=\"step\">File Approved<\/li>\n<\/ul>\n<style>\nbody {\n  counter-reset:steps\n}\nul.steps {\n  margin:0;\n  padding:0;\n}\nul.steps li.step {\n  background: none repeat scroll 0 0 lightgray;\n  border-radius: 1em;\n  color: white;\n  display: inline-block;\n  font-size: 14px;\n  height: 4em;\n  line-height: 4em;\n  margin: 0 1em;\n  position: relative;\n  text-align: center;\n  width: 9em;\n}\nul.steps li.step:before {\n  content: counter(steps, decimal) \". \";\n  counter-increment: steps;\n}\nul.steps li.step.complete:before {\n  content: \"\u2714 \";\n}\nul.steps li.step.complete {\n  background-color: green;\n}\nul.steps li.step.current {\n  background-color:dodgerblue\n}\nul.steps li.arrow {\n  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);\n  color: black;\n  display: inline-block;\n  font-size: 28px;\n  height: 46px;\n  line-height: normal;\n  margin: 0;\n  width: auto;\n}\n<\/style>\n<p>And the code:<\/p>\n<pre class=\"brush:html\">\r\n&lt;ul class=\"steps\">\r\n  &lt;li class=\"step complete\">File Uploaded&lt;\/li>\r\n  &lt;li class=\"arrow\">&rarr;&lt;\/li>\r\n  &lt;li class=\"step current\">File Reviewed&lt;\/li>\r\n  &lt;li class=\"arrow\">&rarr;&lt;\/li>\r\n  &lt;li class=\"step\">File Approved&lt;\/li>\r\n&lt;\/ul>\r\n<\/pre>\n<pre class=\"brush:css\">\r\n&lt;style>\r\nbody {\r\n  counter-reset:steps\r\n}\r\nul.steps {\r\n  margin:0;\r\n  padding:0;\r\n}\r\nul.steps li.step {\r\n  background: none repeat scroll 0 0 lightgray;\r\n  border-radius: 1em;\r\n  color: white;\r\n  display: inline-block;\r\n  font-size: 14px;\r\n  height: 4em;\r\n  line-height: 4em;\r\n  margin: 0 1em;\r\n  position: relative;\r\n  text-align: center;\r\n  width: 9em;\r\n}\r\nul.steps li.step:before {\r\n  content: counter(steps, decimal) \". \";\r\n  counter-increment: steps;\r\n}\r\nul.steps li.step.complete:before {\r\n  content: \"\u2714 \";\r\n}\r\nul.steps li.step.complete {\r\n  background-color: green;\r\n}\r\nul.steps li.step.current {\r\n  background-color:dodgerblue\r\n}\r\nul.steps li.arrow {\r\n  background: none repeat scroll 0 0 rgba(0, 0, 0, 0);\r\n  color: black;\r\n  display: inline-block;\r\n  font-size: 28px;\r\n  height: 46px;\r\n  line-height: normal;\r\n  margin: 0;\r\n  width: auto;\r\n}\r\n&lt;\/style>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I was looking for a simple code for a step by step process indicator. I found a few things, but everyone seems to have forgotten about IE8&#8230; I need to support this old browser at work. So I did my own that I&#8217;m sharing here: File Uploaded &rarr; File Reviewed &rarr; File Approved And the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","hide_page_title":"","footnotes":""},"categories":[11,33],"tags":[30,27,151,158,157],"class_list":["post-1432","post","type-post","status-publish","format-standard","hentry","category-niveau-debutant","category-programmation","tag-css","tag-html","tag-niveau-debutant","tag-programmation","tag-web-design"],"_links":{"self":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1432","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/comments?post=1432"}],"version-history":[{"count":2,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1432\/revisions"}],"predecessor-version":[{"id":1434,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/posts\/1432\/revisions\/1434"}],"wp:attachment":[{"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/media?parent=1432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/categories?post=1432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.kodono.info\/wordpress\/wp-json\/wp\/v2\/tags?post=1432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}