csstricks_bot2's profile picture. Unofficial Account grabbing the RSS-Feed from http://css-tricks.com …

CSS-Tricks Snippets

@csstricks_bot2

Unofficial Account grabbing the RSS-Feed from http://css-tricks.com …

Handling Long Words and URLs: There are times when a really long string of text can overflow the container of ... bit.ly/1PBAwBk


Toggle Visibility When Hiding Elements: The development team at Medium have discussed some bad practices that ... bit.ly/1QK7LmO


Hide Scrollbar in Edge, IE 10/11: You can make it auto-hiding instead of always-showing: html { -ms-overflow... bit.ly/1JIwa7s


Start a Web Server With One Terminal Command on OS X: I've searched for this three times this week, so I figur... bit.ly/1KaF5UH


“Shake” CSS Keyframe Animation: This assumes the use of an autoprefixer. .face:hover { animation: shake 0.82... bit.ly/1JCmJMe


Compare jQuery Objects: You can't really compare if two jQuery objects are the same... if ($(selectionOne) ===... bit.ly/1U2wGCh


Mixin to Qualify a Selector: There is no easy way of qualifying a selector from within its associated ruleset.... bit.ly/1BY6Kn8


Cross-Browser Dependency-Free DOM Ready: Denis Ciccale's version: var DOMReady = function(a, b, c) { b = doc... bit.ly/1BMuWc1


Px to Em Functions: We've talked about "Why Ems?" here before. For those new to em values, The Mozilla Develop... bit.ly/1BkUNs4


Easing Map Get Function: $ease: ( in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530), in-cubic: c... bit.ly/180SQEd


Force HTTPS: RewriteEngine on RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} If ... bit.ly/1KJkkMt


Maintain Aspect Ratio Mixin: This article from July 2013 describes a method of using psuedo elements to mainta... bit.ly/17bSkmD


Placing Items on a Circle: It can be quite challenging to place items on a circle with CSS. Usually, we end up... bit.ly/1zxMNTw


Custom Scrollbars Mixin: Scrollbars are one of those UI components that are present on almost every page of th... bit.ly/1zxfBvr


Clamping a Number: In computer science, we use the word clamp as a way to restrict a number between two other ... bit.ly/15Nz7WB


Sass Things for Links: via Alex King, you can use variables for selectors: $a-tags: 'a, a:active, a:hover, a:v... bit.ly/1Cam3Hy


Strip-unit Function: There is a lot of confusion around the way units work in Sass. Yet, they work exactly as ... bit.ly/1yaj7bg


CSS Triangle Mixin: There is a fairly popular CSS hack using transparent borders on a 0-width / 0-height eleme... bit.ly/14J762a


Mixin for Offset Positioning: If there is one shorthand CSS dramatically misses, it is the one making it possi... bit.ly/1FH5lnf


Sorting Function: Sass does not provide any built-in way to sort a list of values. Thanks to string manipulati... bit.ly/1ATjrxs


This account does not follow anyone

United States Trends

Loading...

Something went wrong.


Something went wrong.