Skip to content

Instantly share code, notes, and snippets.


Geoffrey Crofte geoffreycrofte

View GitHub Profile
View IE CSS Hacks: IE6, 7, 8, 9, 10, 11,

IE CSS Hacks: IE6, 7, 8, 9, 10, 11, and even Edge

I always struggle with hacks for Edge and IE. See also for other tips:

IE6 Only

_selector {...}
View material-icons-list-json.json
"categories": [{
"name": "action",
"key": "action",
"icons": [{
"id": "ic_3d_rotation",
"name": "3d rotation",
"group_id": "action",
"keywords": ["action, 3d, rotation"],
"ligature": "3d_rotation",
View improved-sr-only.markdown

Improved .sr-only

Theorically bulletproof CSS class for visually hide anything and keep it accessible to ATs.

A Pen by ffoodd on CodePen.


jmau111 / checking-php-wp.php
Last active Aug 29, 2015
Check if current WP installation runs on server with minimum PHP 5.4
View checking-php-wp.php
add_action('admin_notices', '_check_php_version_notif', 0);
* Check if current PHP version is newer than 5.4
* @link
* @author Julien Maury
function _check_php_version_notif(){
global $pagenow;