Skip to content

Styles that are slightly better than the user agent stylesheet

Notifications You must be signed in to change notification settings

supermueller/better-than-user-agent-style

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Better than User Agent Style

Styles that are slightly better than the ones from the user agent stylesheet.

Take a look on the demo

How to

Just include the stylesheet served by jsdelivr.net into your document.

Markdown:

	CSS: //cdn.jsdelivr.net/gh/supermueller/better-than-user-agent-style/css/styles.css

For development only:

	CSS: //cdn.jsdelivr.net/gh/supermueller/better-than-user-agent-style@latest/css/styles.css

HTML:

	<link type="text/css" rel="stylesheet" href="//cdn.jsdelivr.net/gh/supermueller/better-than-user-agent-style/css/styles.css">

Prettifying Code

If you want to prettifying your code you can use Google’s JavaScript code prettifier. More information can be found on their project page.

Markdown:

	HTML header: <script type="text/javascript" src="https://cdn.jsdelivr.net/gh/google/code-prettify/loader/run_prettify.js"></script>

	<!--?prettify?-->
		
		/* This code is pretty */
		

HTML

	<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/google/code-prettify/loader/run_prettify.js"></script>

	[…]

	<pre class="prettyprint">
	/* This code is pretty */
	</pre>

About

Styles that are slightly better than the user agent stylesheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published