Prototypr Logo

Advanced vertical margins How the adjacent sibling selector can solve complex design requirements wh…

Username

ift.tt

medium bookmark / Raindrop.io |

This is one of those web development tasks that starts simple but gets complicated in the process: Applying vertical margins to elements inside an article, for example a blog post that consists of compiled markdown.

Most of the time, you have to deal with exceptions and dependencies: Headlines and images need m…