Home » Code Snippets

Border Magnetize-Like Effect using CSS3 and jQuery

A simple effect on borders I had time to whip up today. Forgive the dirty code (newb here!). Calculates the mouse position from the center of the circle. This is my play on the mousemove event and CSS3 transition property. Feel free to copy the…

Read More »

Remove the first sentence in a DIV using jQuery

This will only remove the first instance in every class or element tag you specified in case you have multiple periods (or whatever it is you set as your char). HTML



Icons made by Freepik from www.flaticon.com is licensed by…

Read More »

Custom CSS Scrollbar using -webkit-scrollbar

Copy this code to your css file. Customize as you wish. Only works for -webkit- supported browsers.

Read More »