The following answer explains this for a CSS style sheet: https://stackoverflow.com/a/15535447/2263084
How can I do this as an inline style? (I am creating a webpage within a Wordpress site, do not have edit rights on the theme CSS file)
You can define a full style definition inside the html
<style type="text/css">
.gist { width: 250px; }
</style>