{"id":17321421,"url":"https://github.com/tompave/tile_show","last_synced_at":"2025-03-27T03:16:59.781Z","repository":{"id":8649608,"uuid":"10300888","full_name":"tompave/tile_show","owner":"tompave","description":"Simple implementation of a tile-based grid design. Each tile floats in position as the window is resized. Responsive. Reacts to mouse hover on desktop and on finger taps on touch screens.","archived":false,"fork":false,"pushed_at":"2013-08-21T15:49:12.000Z","size":160,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T08:41:46.577Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CSS","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/tompave.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":"2013-05-26T17:07:28.000Z","updated_at":"2013-10-10T13:06:54.000Z","dependencies_parsed_at":"2022-07-07T22:39:24.166Z","dependency_job_id":null,"html_url":"https://github.com/tompave/tile_show","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/tompave%2Ftile_show","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Ftile_show/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Ftile_show/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tompave%2Ftile_show/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tompave","download_url":"https://codeload.github.com/tompave/tile_show/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245773173,"owners_count":20669719,"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-15T13:37:26.088Z","updated_at":"2025-03-27T03:16:59.758Z","avatar_url":"https://github.com/tompave.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"#Tile Show\n\nSimple implementation of a tile-based design.\n\n##Live Demo\nThere is a [live demo](http://staticfiles.wonderingmachine.com/portfolio/tiles/tiles.html).\n\n##We are dwarfs standing on the shoulders of giants\n\nImplementing this kind of layout is quite simple.  \n  \nFirst off, you'll need some way to animate movements. I've used __CSS3 Transitions__, but you can achieve the same effects using JavaScript.  \nA good place to get started on CSS3 transitions is the [Using CSS transitions](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Using_CSS_transitions) article on the __Mozilla Developer Network__.  \nA more thourough and detailed resource is the [CSS transitions specification](http://www.w3.org/TR/css3-transitions/) on the __W3C__ website. It also contains a useful list of CSS properties that _should_ be animatable through CSS transitions, although web browsers might not support all of them quite yet.\n\nSecondly, to obtain that cool __fill all the gaps__ effect you can't rely on CSS floats alone. You will need to listen for the [window resize event](https://developer.mozilla.org/en-US/docs/Web/API/window.onresize), accessible through JavaScript.  \nThe good news is that someone has already created an amazing library that takes care of that: [__Masonry__](http://masonry.desandro.com/). The default library works as a __JQuery__ plugin, but you can also use the independent version: [__Vanilla Masonry__](http://vanilla-masonry.desandro.com/).\n\nFinally, you have to consider what parts of your design might or might not work on a touch screen.  \nFor example, I've used a `:hover` CSS selector to present a descriptive text over the tiles. This won't work well on a touch screen, so I've used [__Modernizr__](http://modernizr.com/) to detect the device type and JavaScript to adapt the triggers when necessary: from `.tile:hover` (mouse) to `$(\".tile\").click();` (finger).\n\n\n##License\n\nThe MIT License (MIT)\n\nCopyright (c) 2013 Tommaso Pavese\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftompave%2Ftile_show","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftompave%2Ftile_show","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftompave%2Ftile_show/lists"}