Changing the Default Text Selection Colors in Modern Browsers
Changing the Default Text Selection Colors in Modern Browsers
If you are using a modern browser, you may have noticed when you select text on our website that it has a yellow background instead of the standard blue selection. This is a simple change that you can make to your website today to add a small bit of flair.
At the time of this writing, text selection is supported in the latest versions of Chrome, Safari, Firefox, Opera, and Internet Explorer (whoa?!)
/* webkit, Opera, IE9 */
::section {
background: purple;
color: white;
}
/* Mozilla Firefox */
::-moz-selection {
background: purple;
color: white;
}
This sentence will be highlighted in red
This sentence will be highlighted in green
This sentence will be highlighted in purple
This sentence will inverted
-
The Hidden Costs of a WordPress Theme
Great article about the allure and subsequent cost of using a WordPress theme for your website.
Continue Reading -
GitHub rolls out Patreon-esque feature to let you tip open source developers
GitHub, one of the largest repositories for hosting open-source software, has added the ability to financially support developers through recurring monthly payments.
Continue Reading -
When LESS is Actually More
We started using LESS on with the redesign of this website. Combined with CodeKit, LESS is one of the most powerful tools I have encountered in my time as a developer. Together, these two will quicken your workflow and alleviate a lot of your headaches.
Continue Reading