iOS7 switch made with CSS + JS
A Pen by Cezar Luiz on CodePen.
iOS7 switch made with CSS + JS
A Pen by Cezar Luiz on CodePen.
Works on Firefox only
A Pen by Cezar Luiz on CodePen.
| update `table` set `field` = replace(`field` ,'É','É'); | |
| update `table` set `field` = replace(`field` ,'“','"'); | |
| update `table` set `field` = replace(`field` ,'â€','"'); | |
| update `table` set `field` = replace(`field` ,'Ç','Ç'); | |
| update `table` set `field` = replace(`field` ,'Ã','Ã'); | |
| update `table` set `field` = replace(`field` ,'Ã ','À'); | |
| update `table` set `field` = replace(`field` ,'ú','ú'); | |
| update `table` set `field` = replace(`field` ,'•','-'); | |
| update `table` set `field` = replace(`field` ,'Ø','Ø'); | |
| update `table` set `field` = replace(`field` ,'õ','õ'); |
| .clearfix { | |
| &:after { | |
| content: ""; | |
| display: table; | |
| clear: both; | |
| } | |
| } |
| <?php | |
| /** | |
| * Get the terms of specific post in a list | |
| * @param object $p The post | |
| * @param array $params An array of params | |
| * @return string The HTML result | |
| */ | |
| function get_post_terms($p, $params = array()) { | |
| $defaults = array( |
| <?php | |
| /** | |
| * The page permalink by slug | |
| * @param string $slug The page slug | |
| * @return string The permalink | |
| */ | |
| function page_permalink_by_slug($slug) { | |
| return get_permalink( get_page_by_path( $slug ) ); | |
| } |
| { | |
| "config": { | |
| "remove-empty-rulesets": true, | |
| "always-semicolon": true, | |
| "color-case": "upper", | |
| "block-indent": " ", | |
| "color-shorthand": true, | |
| "element-case": "lower", | |
| "eof-newline": true, | |
| "leading-zero": false, |
| HTMLElement.prototype.css = function (style) { | |
| for (let k in style) { | |
| this.style[k] = style[k]; | |
| } | |
| }; | |
| // Example 1 | |
| document.body.css({ | |
| backgroundColor: 'rgb(20,20,20)', | |
| fontFamily: 'Arial, sans-serif', |