22 Posts in Software Development
Nearly every software developer who works with front-end code has probably used the CSS property background-image. What some might not know is that background-image can take many images and set how those images are positioned. This could be particularly useful if you don’t have full control over the HTML that is being generated for whatever reason. You could also have multiple elements and use an nth-of-type selector to achieve the same effect. Click through for the code and a JSFiddle demo.
Recently I came across the need to parse a bit of a config file, in this kind of format: “Category=filetype;…” Here is how one would do such a thing using split, inject and map.
Styling a file input turns out to be quite difficult since CSS can’t reach into the control to get access to the elements. Head past the break to get the details.
In the last post we set up the new car view. In the final post let’s add the ability to delete a car and wrap up this series.