{"id":17160292,"url":"https://github.com/codenameyau/flip.js","last_synced_at":"2025-04-13T14:09:26.408Z","repository":{"id":27983634,"uuid":"31477383","full_name":"codenameyau/flip.js","owner":"codenameyau","description":":package: Flip cards with minimal effort","archived":false,"fork":false,"pushed_at":"2015-07-11T16:39:02.000Z","size":147,"stargazers_count":5,"open_issues_count":5,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T14:09:19.456Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://codenameyau.github.io/flip.js/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codenameyau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-28T21:26:52.000Z","updated_at":"2022-10-07T23:38:45.000Z","dependencies_parsed_at":"2022-08-26T11:21:09.402Z","dependency_job_id":null,"html_url":"https://github.com/codenameyau/flip.js","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/codenameyau%2Fflip.js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameyau%2Fflip.js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameyau%2Fflip.js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codenameyau%2Fflip.js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codenameyau","download_url":"https://codeload.github.com/codenameyau/flip.js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724629,"owners_count":21151561,"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-14T22:24:23.027Z","updated_at":"2025-04-13T14:09:26.377Z","avatar_url":"https://github.com/codenameyau.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flip.js\n\nThe goal of this library is to provide a customizable interface to flip HTML elements\nwhile obfuscating the need for JavaScript. Customizations are done through HTML and CSS.\n\n### Live Demo\nhttp://codenameyau.github.io/flip.js/\n\n## Installation\n\n#### Bower\n```\nbower install flip.js --save\n```\n\n#### Manual\nCopy the files in [build](https://github.com/codenameyau/flip.js/tree/master/build) to your assets folder.\n\nThen add the following resources to your HTML.\n\n```html\n\u003clink rel=\"stylesheet\" href=\"flip.min.css\"\u003e\n\u003cscript src=\"flip.min.js\"\u003e\u003c/script\u003e\n```\n\n## Basic Usage\n\nPlease see the [example here](https://github.com/codenameyau/flip.js/tree/master/public/index.html).\n\n```html\n\u003c!-- Blank Flip Card --\u003e\n\u003cdiv class=\"flip\" data-flip=\"left\"\u003e\n  \u003cdiv class=\"flip-body\"\u003e\n    \u003cdiv class=\"flip-front\"\u003e\n      \u003ch1 class=\"card-header\"\u003eFront\u003c/h1\u003e\n    \u003c/div\u003e\n    \u003cdiv class=\"flip-back\"\u003e\n      \u003ch1 class=\"card-header\"\u003eBack\u003c/h1\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n#### Styling\nStyling your cards is as simple as adding and overriding your own css rules.\n\n#### Flip Direction\nChange the `data-flip` attribute to control the flip direction:\n\n```html\ndata-flip=\"left\"\ndata-flip=\"right\"\ndata-flip=\"up\"\ndata-flip=\"down\"\n```\n\n## Contributing\nWelcome! Some future goals for this library include adding\nclick event support and mobile support. There are a few opened\nissues under the Alpha Release milestone.\n\nPlease work with the example in `public/` and leave `src/` and `build/` untouched.\nThose two directories are autogenerated with gulp.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenameyau%2Fflip.js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodenameyau%2Fflip.js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodenameyau%2Fflip.js/lists"}