Skip to content

Instantly share code, notes, and snippets.

@RahulSaini91
Last active November 27, 2017 06:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RahulSaini91/c811d9e858a450b98b7806e014368122 to your computer and use it in GitHub Desktop.
Save RahulSaini91/c811d9e858a450b98b7806e014368122 to your computer and use it in GitHub Desktop.
The CSS has basic customization class e.g: Font Bold, italic, underline and etc.
<style>
/* customize font style */
.text{
font-size:14px;
font-family:times new roman;
}
.text-normal{
font-weight:normal;
text-decoration: none;
font-style: normal;
}
.text-bold{
font-weight:bold;
}
.text-italic{
font-style:italic;
}
.text-underline{
text-decoration: underline;
}
.text-small{
font-size:80%;
}
.text-large{
font-size:120%;
}
/* Fixed Element */
.fixed{
position:fixed;
z-index:10;
}
.fixed-top{
top:0;
}
.fixed-top-center{
top:50%;
}
.fixed-right{
right:0;
}
.fixed-right-center{
right:50%;
}
.fixed-bottom{
bottom:0;
}
.fixed-bottom-center{
bottom:50%;
}
.fixed-left{
left:0;
}
.fixed-left-center{
left:50%;
}
.full-width{
width:100%;
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment