{"id":15509052,"url":"https://github.com/kevindees/ie7_pseudo_elements","last_synced_at":"2025-04-23T02:25:08.915Z","repository":{"id":1650803,"uuid":"2376657","full_name":"kevindees/ie7_pseudo_elements","owner":"kevindees","description":"IE7 pseudo element :before and :after CSS ployfil.","archived":false,"fork":false,"pushed_at":"2012-12-19T21:04:41.000Z","size":270,"stargazers_count":15,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-19T22:06:51.617Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"kevindees.cc","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kevindees.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-09-13T06:55:23.000Z","updated_at":"2022-05-10T14:00:16.000Z","dependencies_parsed_at":"2022-09-04T08:00:32.082Z","dependency_job_id":null,"html_url":"https://github.com/kevindees/ie7_pseudo_elements","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Fie7_pseudo_elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Fie7_pseudo_elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Fie7_pseudo_elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kevindees%2Fie7_pseudo_elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kevindees","download_url":"https://codeload.github.com/kevindees/ie7_pseudo_elements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250355905,"owners_count":21416992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:41:15.251Z","updated_at":"2025-04-23T02:25:08.897Z","avatar_url":"https://github.com/kevindees.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IE7 Pseudo Elements\n\nCreated by [Kevin Dees](http://kevindees.cc)\n\nLicense: none (public domain)\n\nBecause IE7 is going to be around for some time. This script was made to give us just a little pseudo-element support until IE7 goes away.\n\nIf you feel you can help with this project hit me up here or on twitter as @kevindees. Enjoy!\n\nUsing\n======\n- Add \"\u003e iea\" or \"\u003e ieb\" as a new selector after pseudo-element in your CSS rule.\n- iea is for selectors ending in :after or ::after\n- ieb is for selectors ending in :before or ::before\n- Then add the script to the bottom of your site before the \u0026lt;/body\u0026gt; tag.\n\nExample\n======\n\n\u003cpre\u003e\n.more:before, .more \u003e ieb { ... }\n.more:after, .more \u003e iea { ... }\n.more:hover:after, .more:hover \u003e iea { ... }\n\u003c/pre\u003e\n\n\nNotes\n======\n\nBasic\n===\n- The less CSS rules you make the faster the script runs\n- This is for IE7 only! IE6 is not worth the pain.\n- Requires jQuery 1.6+ (not tested past 1.6)\n\nCons\n===\n- You can't stack pseudo-elements yet\n\nPros\n===\n- Content property (is supported)\n- You can use :after and :before for basic enhancement\n- You can use CSS Castcading for specificity (selector specificity should work now)\n- You can use :hover\n- You can use url() (buggy can not use '' or \"\" in url)\n\nExample Site\n======\n\n\u003cpre\u003e\n\u0026lt;!DOCTYPE HTML\u0026gt;\n\u0026lt;html lang=\"en-US\"\u0026gt;\n\u0026lt;head\u0026gt;\n\u0026lt;meta charset=\"UTF-8\"\u0026gt;\n\u0026lt;title\u0026gt;My Site\u0026lt;/title\u0026gt;\n\u0026lt;style type=\"text/css\"\u0026gt;\n.more p:before, .more p \u003e ieb, .more p:after, .more p \u003e iea { content: 'me'; background: #f00; width: 10px; height: 10px; display: block; }\n.more p:after, .more p \u003e iea { content: 'you'; background: #ccc; width: 15px; height: 15px; display: block;}\n\u0026lt;/style\u0026gt;\n\u0026lt;script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/1.6.3/jquery.min.js\"\u0026gt;\u0026lt;/script\u0026gt;\n\u0026lt;/head\u0026gt;\n\u0026lt;body\u0026gt;\n\u0026nbsp;\n\u0026lt;div\u0026gt;\n\u0026lt;p\u0026gt;test\u0026lt;/p\u0026gt;\n\u0026lt;/div\u0026gt;\n\u0026nbsp;\n\u0026lt;!--[if IE 7]\u0026gt;\n\u0026lt;script type=\"text/javascript\"\u0026gt;\n// the script goes here\n\u0026lt;/script\u0026gt;\n\u0026lt;![endif]--\u0026gt;\n\u0026lt;/body\u0026gt;\n\u0026lt;/html\u0026gt;\n\u003c/pre\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevindees%2Fie7_pseudo_elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkevindees%2Fie7_pseudo_elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkevindees%2Fie7_pseudo_elements/lists"}