the previous demo Peter
Kalmström, CEO and Systems Designer of kalmstrom.com Business
Solutions, showed how to use CSS in the HTML source of the
Content Editor web part.
In the demo below Peter shows another way to use CSS with
the Content Editor web part: to add a link to a text file
with the CSS code in the Site Assets library. This method
is quicker to change, as you don't have to open the page
in edit mode and open the source. Instead you can make the
change directly in the CSS text file.
Add the CSS code to a .txt or .css file and upload
it to the Site Assets library.
Add a Content Editor web part to the page.
Edit the web part and type the path to the CSS file.