Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ### THIS BIT IS FOR YOUR HTML PAGES ###
- ## NOTE: The class is case sensitive.
- <img src="https://image.com/minty.png" alt="A minty picture" class="yourClassHere">
- ### THIS BIT IS FOR YOUR CSS FILE ###
- ## Put it anywhere you like in your page, wherever makes sense to you
- # Assuming you want this in your content container, if not you can change the class to suit where you want it.
- .monitor .content img.yourClassHere
- {
- height: 500px; /* make the image 500px and scale the width to not distort the image */
- width: auto;
- /* OR */
- height: 50%; /* do it by a percentage */
- width: auto;
- /* NOTE: you can also change the width and make the height auto. it's up to you.. */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement