There are a few cases where inline styles would be more appropriate than using SASS or CSS.
- Styling is done in one file, vs adding a class, opening a sass file, and compiling it to css.
- Styling is explicit, no guesswork needs to be done to determine what styles a class would add.
- Style rules are strong, nothing besides !important rules will conflict with them.
- Styles are brief, and the need to come up with a name for a class is avoided.
- Sometimes we just want to add one or a few styles, and a css class would be overkill.
There are cases where sass works better.
- If you need to add 3 or more styles, a class looks cleaner than inline styling does.
- If it is something that is going to be re-used often like in different parts of the project, a class is more appropriate. Doing the styles inline would force you to edit each line to make a change.