<!doctype html> | |
<html> | |
<head> | |
<style type="text/css"> | |
.test-class { | |
margin: 50px auto; | |
background-size: contain; | |
} | |
</style> | |
</head> | |
<body> | |
<div style="width: 100%;"> | |
<img class="test-class" style="width:60px; height:60px;" src="resources/overflow-hidden.svg"> | |
<img class="test-class" style="width:40px; height:40px;" src="resources/overflow-hidden.svg"> | |
<img class="test-class" style="width:28px; height:28px;" src="resources/overflow-hidden.svg"> | |
</div> | |
</body> | |
</html> |