{"id":18798572,"url":"https://github.com/micmro/cross-browser-linear-gradient-jquery-css-hook","last_synced_at":"2025-04-13T17:22:21.673Z","repository":{"id":3126212,"uuid":"4153923","full_name":"micmro/Cross-Browser-Linear-Gradient-jQuery-CSS-Hook","owner":"micmro","description":"Prototype of a cross browser jQuery CSS hook that falls back to Microsofts filter gradient (IE6-8) or SVG (e.g. IE9) if CSS3 gradients are not supported. It also handels Webkit's old gradient syntax (still used on a lot of mobile devices). ","archived":false,"fork":false,"pushed_at":"2012-05-13T23:11:13.000Z","size":160,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-27T08:11:25.481Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://michaelmrowetz.com/lab/gradient/indexLinear.htm","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/micmro.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":"2012-04-27T01:11:33.000Z","updated_at":"2015-07-16T20:33:58.000Z","dependencies_parsed_at":"2022-09-10T20:42:45.298Z","dependency_job_id":null,"html_url":"https://github.com/micmro/Cross-Browser-Linear-Gradient-jQuery-CSS-Hook","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/micmro%2FCross-Browser-Linear-Gradient-jQuery-CSS-Hook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micmro%2FCross-Browser-Linear-Gradient-jQuery-CSS-Hook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micmro%2FCross-Browser-Linear-Gradient-jQuery-CSS-Hook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micmro%2FCross-Browser-Linear-Gradient-jQuery-CSS-Hook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micmro","download_url":"https://codeload.github.com/micmro/Cross-Browser-Linear-Gradient-jQuery-CSS-Hook/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248750866,"owners_count":21155797,"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-11-07T22:12:23.823Z","updated_at":"2025-04-13T17:22:21.650Z","avatar_url":"https://github.com/micmro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"This project is based on:\nTom Ellis' Linear and Radial Gradient cssHook for jQuery (https://github.com/brandonaaron/jquery-cssHooks)\nand uses webtoolkit's base64 encoding for the encoding it's SVG background gradients (http://www.webtoolkit.info/)\n\n- I am still working on implementing degree for SVG\n\n\n- linear-gradient (with all it's prefixes)\n  Most of this logic is from Tom Ellis, I just added the webkit legacy support for the old webkit-only gradient \n  syntax as a lot of mobile devices still use older webkit versions.\n\n- Using Filter (IE6-IE8):\n  Ms' Filter only support 2 colors, theirfore it will only pick up the first and last color in your gradient. \n  Furthermore it only supports only horizontal and vertical gradients.\n\n- SVG (IE9 and some older Opera version) \n  SVG has some advantages over filter (more colors, support for rounded corners etc.) \n  however as IE does not have a method like window.btoa() to base64 encode a string I am \n  using webtoolkit's base64 encoding. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicmro%2Fcross-browser-linear-gradient-jquery-css-hook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicmro%2Fcross-browser-linear-gradient-jquery-css-hook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicmro%2Fcross-browser-linear-gradient-jquery-css-hook/lists"}