Search
Search Code
Stop Deleting HTML! Using CSS :nth-child to Hide List Items
In web development, there are times when you need to remove elements from a user's view without actually deleting them from the HTML source. This is particularly common when working with hardcoded CMS..
Stop Using Position Absolute to Center Divs (Do This Instead)
Centering an element in CSS used to be one of the most frustrating tasks for web developers. Over the years, we have moved from complex hacks to elegant, one-line solutions. This article explores the ..
Stop Using Pixels! Use VW for Responsive CSS ๐
In this quick tutorial, we’re setting up a demo div with a smooth gradient and showing you how width: 10vw works. Unlike pixels, viewport units are dynamic - meaning your element will always sta..
CSS Tip 1: Stop using position: absolute for centering.
Moving away from position: absolute for centering is a major milestone in writing modern, maintainable CSS. While the old method of combining top: 50% with transform: translate(-50%, -50%) worked, i..
stop tinymce replacing urls with relative url's
If you have been using tiny mce for your content editing, you will sometimes find that it replaces your full url strings with its relative ones. This can be annoying so this is how you can disable it..
stop overscrolling on responsive ios
this stops the site bouncing around all over the place when you try and scroll in ios