{"id":2126,"date":"2016-12-04T16:08:20","date_gmt":"2016-12-04T16:08:20","guid":{"rendered":"http:\/\/cssreset.com\/?p=2126"},"modified":"2016-12-04T16:08:20","modified_gmt":"2016-12-04T16:08:20","slug":"css-snippets-list-styles","status":"publish","type":"post","link":"https:\/\/cssdeck.com\/blog\/css-snippets-list-styles\/","title":{"rendered":"CSS Snippets: List Styles"},"content":{"rendered":"<p>One of the great things about HTML lists is that they&#8217;re really versatile. You can completely customize and manipulate them using CSS so that they&#8217;re almost unrecognizable as the basic &lt;ul&gt; or &lt;ol&gt; elements that they really are. We&#8217;ve curated a collection of snippets of all the different ways to style lists, from the most simple and basic stylings to the much more complex ways to change the appearance of a standard list. Check them out below:<\/p>\n<p>1. <a href=\"http:\/\/codepen.io\/secondfret\/pen\/oexuc\" target=\"_blank\">Ordered List with Stylized Numbers<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/secondfret\/pen\/oexuc\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2134 aligncenter\" alt=\"Screen Shot 2016-12-04 at 10.49.55 AM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.49.55-AM.png\" width=\"978\" height=\"470\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.49.55-AM.png 978w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.49.55-AM-300x144.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.49.55-AM-180x86.png 180w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>This snippet is a simple take on the standard organized list. By making the numbers larger, italic, and a slightly lighter color than the text, the list becomes modern and stylish. This snippet is completely customizable and its style would merge with almost any project.<\/p>\n<p>2. <a href=\"http:\/\/red-team-design.com\/css3-ordered-list-styles\/\" target=\"_blank\">Ordered List Styles with Shapes<\/a><\/p>\n<p><a href=\"http:\/\/red-team-design.com\/css3-ordered-list-styles\/\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2135 aligncenter\" alt=\"Screen Shot 2016-12-04 at 10.54.36 AM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.54.36-AM-1024x369.png\" width=\"1024\" height=\"369\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.54.36-AM-1024x369.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.54.36-AM-300x108.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.54.36-AM-180x64.png 180w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-10.54.36-AM.png 1298w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This snippet shows you how to add style to your ordered lists that place the numbers into shapes (squares and circles) and adds a little style to the list text as well. Don&#8217;t forget to customize the colors to your liking!<\/p>\n<p>3. <a href=\"https:\/\/cssdeck.com\/blog\/\/styling-lists-with-css\/\" target=\"_blank\">Styling Unordered Lists with Icons<\/a><\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-1939 aligncenter\" alt=\"Screen Shot 2016-06-06 at 5.40.05 PM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2016\/06\/Screen-Shot-2016-06-06-at-5.40.05-PM.png\" width=\"162\" height=\"134\" \/><\/p>\n<p>This tutorial shows you \u00a0how to use <a href=\"http:\/\/fontawesome.io\/\" target=\"_blank\">Font Awesome<\/a> icons in place of the bullets, discs, and squares that CSS allows you to choose from when styling your unordered lists.<\/p>\n<p>4. <a href=\"http:\/\/codepen.io\/arbaoui_mehdi\/pen\/JfpEm\" target=\"_blank\">Responsive List with Flip Effect<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/arbaoui_mehdi\/pen\/JfpEm\"><img decoding=\"async\" loading=\"lazy\" class=\"size-large wp-image-2136 aligncenter\" alt=\"Screen Shot 2016-12-04 at 11.03.46 AM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.03.46-AM-1024x252.png\" width=\"1024\" height=\"252\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.03.46-AM-1024x252.png 1024w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.03.46-AM-300x73.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.03.46-AM-180x44.png 180w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This is a snippet for manipulating the structure of a basic list to create responsive tiles that utilize CSS transitions to achieve a flip effect that occurs when the tiles are hovered upon.<\/p>\n<p>5. <a href=\"http:\/\/codepen.io\/lonekorean\/pen\/xGLLwX\" target=\"_blank\">Interactive To-Do List<\/a><\/p>\n<p><a href=\"http:\/\/codepen.io\/lonekorean\/pen\/xGLLwX\"><img decoding=\"async\" loading=\"lazy\" class=\"size-full wp-image-2137 aligncenter\" alt=\"Screen Shot 2016-12-04 at 11.08.04 AM\" src=\"https:\/\/cssdeck.com\/blog\/\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.08.04-AM.png\" width=\"934\" height=\"624\" srcset=\"https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.08.04-AM.png 934w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.08.04-AM-300x200.png 300w, https:\/\/cssdeck.com\/blog\/wp-content\/uploads\/2016\/12\/Screen-Shot-2016-12-04-at-11.08.04-AM-180x120.png 180w\" sizes=\"(max-width: 934px) 100vw, 934px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This to-do list tutorial is a cool, interactive take on the standard unordered list. The code creates a list of items that can be separated into the &#8220;done&#8221; and &#8220;not done&#8221; categories. The list is interactive, so if you check off a list item in the &#8220;not done&#8221; category, it&#8217;ll be moved to the &#8220;done&#8221; column.<\/p>\n<div class=\"wp-socializer wpsr-share-icons \" data-lg-action=\"show\" data-sm-action=\"show\" data-sm-width=\"768\" ><h3>Share and Enjoy !<\/h3><div class=\"wpsr-si-inner\"><div class=\"wpsr-counter wpsrc-sz-32px\" style=\"color:#000\"><span class=\"scount\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook,twitter,linkedin,pinterest,print,pdf\">0<\/span><\/span><small class=\"stext\">Shares<\/small><\/div><div class=\"socializer sr-popup sr-32px sr-circle sr-opacity sr-pad sr-count-1 sr-count-1\"><span class=\"sr-facebook\"><a rel=\"nofollow\" href=\"https:\/\/www.facebook.com\/share.php?u=\" target=\"_blank\"  title=\"Share this on Facebook\"  style=\"color: #ffffff\" ><i class=\"fab fa-facebook-f\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"facebook\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-twitter\"><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/intent\/tweet?text=%20-%20%20\" target=\"_blank\"  title=\"Tweet this !\"  style=\"color: #ffffff\" ><i class=\"fab fa-twitter\"><\/i><\/a><\/span>\n<span class=\"sr-linkedin\"><a rel=\"nofollow\" href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=\" target=\"_blank\"  title=\"Add this to LinkedIn\"  style=\"color: #ffffff\" ><i class=\"fab fa-linkedin-in\"><\/i><\/a><\/span>\n<span class=\"sr-pinterest\"><a rel=\"nofollow\" href=\"https:\/\/www.pinterest.com\/pin\/create\/button\/?url=&amp;media=&amp;description=\" target=\"_blank\"  title=\"Submit this to Pinterest\"  style=\"color: #ffffff\" data-pin-custom=\"true\"><i class=\"fab fa-pinterest\"><\/i><span class=\"ctext\"><span data-wpsrs=\"\" data-wpsrs-svcs=\"pinterest\">0<\/span><\/span><\/a><\/span>\n<span class=\"sr-print\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Print this article \"  style=\"color: #ffffff\" ><i class=\"fa fa-print\"><\/i><\/a><\/span>\n<span class=\"sr-pdf\"><a rel=\"nofollow\" href=\"https:\/\/www.printfriendly.com\/print?url=\" target=\"_blank\"  title=\"Convert to PDF\"  style=\"color: #ffffff\" ><i class=\"fa fa-file-pdf\"><\/i><\/a><\/span><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>One of the great things about HTML lists is that they&#8217;re really versatile. You can completely customize and manipulate them using CSS so that they&#8217;re almost unrecognizable as the basic &lt;ul&gt; or &lt;ol&gt; elements that they really are. We&#8217;ve curated [&#8230;]<\/p>\n<p><a class=\"more-link article\" href=\"https:\/\/cssdeck.com\/blog\/css-snippets-list-styles\/\" title=\"Click to read 'CSS Snippets: List Styles'\">Read Article<\/a><\/p>\n","protected":false},"author":18,"featured_media":2137,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/2126"}],"collection":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/users\/18"}],"replies":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/comments?post=2126"}],"version-history":[{"count":2,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/2126\/revisions"}],"predecessor-version":[{"id":2138,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/posts\/2126\/revisions\/2138"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media\/2137"}],"wp:attachment":[{"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/media?parent=2126"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/categories?post=2126"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cssdeck.com\/blog\/wp-json\/wp\/v2\/tags?post=2126"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}