21 lines
333 B
Markdown
21 lines
333 B
Markdown
|
---
|
||
|
title: Size Your Images
|
||
|
---
|
||
|
|
||
|
## Size Your Images
|
||
|
For sizing your images, first create your class in your style tag.
|
||
|
|
||
|
An example:
|
||
|
```
|
||
|
<style>
|
||
|
.fixed-image {
|
||
|
width: 500px;
|
||
|
height: auto;
|
||
|
}
|
||
|
```
|
||
|
|
||
|
You can then add the class to your image:
|
||
|
```
|
||
|
<img class="fixed-image" src="http://www.example.com/picture"/>
|
||
|
```
|