GodLikeMouse
  • Blog
  • Music
  • About Me

CSS Techniques

Code

Responsive CSS Truncate and Ellipsis

We’ve all run into situations where we need to truncate text due to length constraints.  Most of the time this simply requires a truncation function which determines the maximum length of text and if the string exceeds that length, truncates it and adds an ellipsis (“…”).  But what about when Read more…

By GodLikeMouse, 10 yearsMarch 28, 2015 ago
Code

Relatively Positioned Absolute Elements

Foreword Absolutely positioned elements can be quite useful, but what if you have something centered or off to one side and you need to just nudge an absolutely positioned element.  The following will show you a handy technique for moving absolute elements relative to the elements around it using nothing Read more…

By GodLikeMouse, 14 yearsMay 7, 2011 ago
Code

CSS Browser Specific Override

There are a lot of hacks out there dealing with getting specific CSS files to load on a per browser basis.  I wanted to try a different approach.  I wanted a way to specify the default or standard CSS that all pages will use as well as a way to Read more…

By GodLikeMouse, 14 yearsJanuary 19, 2011 ago
  • Blog
  • Music
  • About Me
Hestia | Developed by ThemeIsle