{"id":10485,"date":"2018-12-15T07:27:45","date_gmt":"2018-12-15T07:27:45","guid":{"rendered":"http:\/\/webartdevelopers.com\/?p=10485"},"modified":"2018-12-15T07:31:41","modified_gmt":"2018-12-15T07:31:41","slug":"using-pseudo-elements-for-input-styling","status":"publish","type":"post","link":"https:\/\/webartdevelopers.com\/blog\/using-pseudo-elements-for-input-styling\/","title":{"rendered":"USING PSEUDO ELEMENTS FOR INPUT STYLING"},"content":{"rendered":"\n<p>On supported browsers, the pseudo elements can be used to style the inputs for checkbox\/radio for their checked and unchecked states while still providing a functional fallback for browsers that don\u2019t support input styling without doing weird resets.<br>Made by Alex Bergin<br>April 19, 2014<\/p>\n\n\n<a href=\"http:\/\/codepen.io\/abergin\/share\/zip\/kjwBz\/\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Download<\/span><\/a>\n\n\n<a href=\"http:\/\/codepen.io\/abergin\/pen\/kjwBz\/\" class=\"su-button su-button-style-default\" style=\"color:#ffffff;background-color:#000000;border-color:#000000;border-radius:40px\" target=\"_blank\" rel=\"noopener noreferrer\"><span style=\"color:#ffffff;padding:0px 20px;font-size:16px;line-height:32px;border-color:#4d4d4d;border-radius:40px;text-shadow:none\"> Demo and Code<\/span><\/a>\n<!-- AddThis Advanced Settings generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"On supported browsers, the pseudo elements can be used to style the inputs for checkbox\/radio for their checked and unchecked states while still providing a functional fallback for browsers that don\u2019t support input styling without doing weird resets.Made by Alex BerginApril 19, 2014<!-- AddThis Advanced Settings generic via filter on get_the_excerpt -->","protected":false},"author":1,"featured_media":10495,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2901],"tags":[20,2907,2959],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/10485"}],"collection":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/comments?post=10485"}],"version-history":[{"count":1,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/10485\/revisions"}],"predecessor-version":[{"id":10505,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/posts\/10485\/revisions\/10505"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media\/10495"}],"wp:attachment":[{"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/media?parent=10485"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/categories?post=10485"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webartdevelopers.com\/blog\/wp-json\/wp\/v2\/tags?post=10485"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}