Skip to content

Commit

Permalink
Add credit for padding trick to source
Browse files Browse the repository at this point in the history
  • Loading branch information
Sérgio Gomes committed Mar 3, 2017
1 parent 3a29458 commit ec95728
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions css-aspect-ratio.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Credit to Thierry Koblentz for the padding trick.
http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
*/

.aspect-ratio {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "css-aspect-ratio",
"version": "1.0.4",
"version": "1.0.5",
"description": "Simple implementation of fixed aspect ratio in pure CSS",
"style": "css-aspect-ratio.css",
"keywords": ["css", "aspect ratio"],
Expand Down

0 comments on commit ec95728

Please sign in to comment.