{"id":17302971,"url":"https://github.com/binarybrain/punches","last_synced_at":"2026-01-07T02:03:20.037Z","repository":{"id":5607166,"uuid":"6814386","full_name":"BinaryBrain/Punches","owner":"BinaryBrain","description":"Create punches in your web pages with CSS3.","archived":false,"fork":false,"pushed_at":"2012-12-26T20:02:37.000Z","size":7621,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T04:29:36.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/BinaryBrain.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-11-22T14:34:47.000Z","updated_at":"2014-03-07T14:56:58.000Z","dependencies_parsed_at":"2022-07-07T10:54:15.336Z","dependency_job_id":null,"html_url":"https://github.com/BinaryBrain/Punches","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/BinaryBrain%2FPunches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FPunches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FPunches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BinaryBrain%2FPunches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BinaryBrain","download_url":"https://codeload.github.com/BinaryBrain/Punches/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245749853,"owners_count":20666084,"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-15T11:49:11.948Z","updated_at":"2026-01-07T02:03:15.003Z","avatar_url":"https://github.com/BinaryBrain.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Punches\n=======\n\nPunches is a tool to create holes in your web pages. It works only with some CSS3 and a few lines of HTML.\n\n\nResult\n------\n\nHere's an example of what you can do with Punches.\n\n![Punches Screenshot](https://github.com/BinaryBrain/Punches/blob/master/readme-images/screenshot2.png?raw=true)\n\n_Note: It uses only two images. The black background and the brushed metal._\n\nUsage\n-----\n\nYou only need the _punches.less_ file to make it work.  \nOther files are for example and testing purpose.\n\n### HTML\n\n```\n\u003cdiv id=\"your-punch\" class=\"punch\"\u003e\n  \u003cdiv class=\"punch-white\"\u003e\n    \u003cdiv class=\"punch-in\"\u003e\n      \u003cdiv class=\"punch-content\"\u003e\n\t    \u003c!-- Put your content here if you want to. --\u003e\n      \u003c/div\u003e\n    \u003c/div\u003e\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n### LESS\n\nFirst of all, you have to import the style file.  \nThen, you just have to call the mixin.\n\n```\n@import \"punches\";\n\n#your-punch {\n  //.punch(@size: 100px, @left: 0px, @top: 0px, @background: none, @grid: false, @z-index: 0);\n  .punch(150px, 20px, 20px, black);\n}\n```\nYou can see that every parameters have default values. So, you can just call `.punch;` if you want to.\n\nDependencies\n------------\n\nPunches needs [LESS](http://lesscss.org) to work.\n\nExample\n-------\n\nTo see the example, just download the folder _example_.  \nNote that the less code has been already compiled for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybrain%2Fpunches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinarybrain%2Fpunches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinarybrain%2Fpunches/lists"}