{"id":22314376,"url":"https://github.com/undercloud/inlinecss","last_synced_at":"2025-11-08T19:02:28.973Z","repository":{"id":57075262,"uuid":"51216721","full_name":"undercloud/inlinecss","owner":"undercloud","description":"Inline CSS Generator","archived":false,"fork":false,"pushed_at":"2016-04-09T21:22:49.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-31T00:18:17.989Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/undercloud.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":"2016-02-06T19:00:47.000Z","updated_at":"2016-02-06T20:23:45.000Z","dependencies_parsed_at":"2022-08-24T14:55:41.592Z","dependency_job_id":null,"html_url":"https://github.com/undercloud/inlinecss","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/undercloud%2Finlinecss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Finlinecss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Finlinecss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/undercloud%2Finlinecss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/undercloud","download_url":"https://codeload.github.com/undercloud/inlinecss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245579582,"owners_count":20638676,"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-12-03T22:09:53.052Z","updated_at":"2025-11-08T19:02:23.919Z","avatar_url":"https://github.com/undercloud.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# inlinecss\nInline CSS Generator\n\n##Install\n```composer require undercloud/inlinecss```\n\n##Basic example\n```PHP\nrequire 'vendor/autoload.php';\n\n$css = new \\Undercloud\\InlineCss;\n\n$css-\u003ecolor      = '#282828';\n$css-\u003elineHeight = 1.5;\n$css-\u003efontSize   = '36px';\n\necho '\u003ch1 style=\"' . $css . '\"\u003eHello I\\'m inline CSS\u003c/h1\u003e';\n```\nor \n```PHP\necho '\u003cstyle\u003e' . $css('h1') . '\u003c/style\u003e';\n```\n\n##Predefined properties\n```PHP\n$css = new \\Undercloud\\InlineCss(\n\tarray(\n\t\t'textAlign' =\u003e 'left',\n\t\t'display'   =\u003e 'inline-block',\n\t\t'position'  =\u003e 'relative'\n\t)\n);\n```\n\n##Values\nFor adding values use object assign\n```PHP\n$css-\u003ecolor = '#282828';\n```\nor use function ```add```\n```PHP\n$css-\u003eadd('color', '#282828');\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundercloud%2Finlinecss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fundercloud%2Finlinecss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fundercloud%2Finlinecss/lists"}