# ember/template-no-inline-styles
💼 This rule is enabled in the 📋 `template-lint-migration` [config](https://github.com/ember-cli/eslint-plugin-ember#-configurations).
Inline styles are not the best practice because they are hard to maintain and usually make the overall size of the project bigger. This rule forbids inline styles. Use CSS classes instead.
## Examples
This rule **forbids** the following:
```gjs
```
This rule **allows** the following:
```gjs
```
```gjs
{{! allowed when `allowDynamicStyles` is enabled }}
```
## Options
| Name | Type | Default | Description |
| -------------------- | --------- | ------- | ------------------------------------------------------------------------------------- |
| `allowDynamicStyles` | `boolean` | `true` | When `true`, allows dynamic style values (e.g. `style={{...}}` or `style="{{...}}"`). |
## Related Rules
- [style-concatenation](style-concatenation.md)
## References
- [Deprecations/binding style attributes](https://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes)