{"id":19864226,"url":"https://github.com/tachyons-css/tachyons-floats","last_synced_at":"2025-07-03T18:09:29.478Z","repository":{"id":20761372,"uuid":"24045996","full_name":"tachyons-css/tachyons-floats","owner":"tachyons-css","description":"Module moved to the Tachyons monorepo","archived":false,"fork":false,"pushed_at":"2022-09-26T21:32:08.000Z","size":63,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-03T08:01:34.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/tachyons-css/tachyons","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tachyons-css.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-15T06:50:21.000Z","updated_at":"2022-09-26T21:32:14.000Z","dependencies_parsed_at":"2023-01-11T20:58:01.715Z","dependency_job_id":null,"html_url":"https://github.com/tachyons-css/tachyons-floats","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/tachyons-css/tachyons-floats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-floats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-floats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-floats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-floats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tachyons-css","download_url":"https://codeload.github.com/tachyons-css/tachyons-floats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tachyons-css%2Ftachyons-floats/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259654155,"owners_count":22890966,"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-12T15:17:54.782Z","updated_at":"2025-06-13T13:37:26.025Z","avatar_url":"https://github.com/tachyons-css.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tachyons-floats 3.0.5\n\nPerformance based css module.\n\n### Stats\n\n415 | 12 | 20\n---|---|---\nbytes | selectors | declarations\n\n## Installation\n\n#### With [npm](https://npmjs.com)\n\n```\nnpm install --save-dev tachyons-floats\n```\n\nLearn more about using css installed with npm:\n* https://webpack.github.io/docs/stylesheets.html\n* https://github.com/defunctzombie/npm-css\n\n#### With Git\n\nhttp:\n```\ngit clone https://github.com/tachyons-css/tachyons-floats\n```\n\nssh:\n```\ngit clone git@github.com:tachyons-css/tachyons-floats.git\n```\n\n## Usage\n\n#### Using with [Postcss](https://github.com/postcss/postcss)\n\nImport the css module\n\n```css\n@import \"tachyons-floats\";\n```\n\nThen process the css using the [`tachyons-cli`](https://github.com/tachyons-css/tachyons-cli)\n\n```sh\n$ npm i -g tachyons-cli\n$ tachyons path/to/css-file.css \u003e dist/t.css\n```\n\n#### Using the css\n\n##### CDN\nThe easiest and most simple way to use the css is to use the cdn hosted version. Include it in the head of your html with:\n\n```\n\u003clink rel=\"stylesheet\" href=\"http://unpkg.com/tachyons-floats@3.0.5/css/tachyons-floats.min.css\" /\u003e\n```\n\n##### Locally\nThe built css is located in the `css` directory. It contains an unminified and minified version.\nYou can either cut and paste that css or link to it directly in your html.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"path/to/module/css/tachyons-floats\"\u003e\n```\n\n#### Development\n\nThe source css files can be found in the `src` directory.\nRunning `$ npm start` will process the source css and place the built css in the `css` directory.\n\n## The css\n\n```css\n/* Media Query Variables */\n/*\n\n   FLOATS\n\n   1. Floated elements are automatically rendered as block level elements.\n      Setting floats to display inline will fix the double margin bug in\n      ie6. You know... just in case.\n\n   2. Don't forget to clearfix your floats with .cf\n\n   Base:\n     f = float\n\n   Modifiers:\n     l = left\n     r = right\n     n = none\n\n   Media Query Extensions:\n     -ns = not-small\n     -m  = medium\n     -l  = large\n\n*/\n.fl { float: left; _display: inline; }\n.fr { float: right; _display: inline; }\n.fn { float: none; }\n@media screen and (min-width: 30em) {\n .fl-ns { float: left; _display: inline; }\n .fr-ns { float: right; _display: inline; }\n .fn-ns { float: none; }\n}\n@media screen and (min-width: 30em) and (max-width: 60em) {\n .fl-m { float: left; _display: inline; }\n .fr-m { float: right; _display: inline; }\n .fn-m { float: none; }\n}\n@media screen and (min-width: 60em) {\n .fl-l { float: left; _display: inline; }\n .fr-l { float: right; _display: inline; }\n .fn-l { float: none; }\n}\n```\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n\n## Authors\n\n* [mrmrs](http://mrmrs.io)\n* [johno](http://johnotander.com)\n\n## License\n\nISC\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Ftachyons-floats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftachyons-css%2Ftachyons-floats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftachyons-css%2Ftachyons-floats/lists"}