Skip to content

Force style

AlexFlipnote edited this page Apr 23, 2021 · 2 revisions

Classes that will give an element a spesific style, can be combined with multiple

Styles

  • bold Make something bold
  • italic Make something italic
  • text-center Center text with text-align only
  • text-left Align text to the left
  • text-right Align text to the right
  • no-border Remove any border on an element
  • no-border-radius Remove only the border radius of an element
  • no-box-shadow Remove box shadow from an element
  • no-margin Sets an element's margin to 0 any directions
  • no-padding Sets an element's padding to 0 any directions
  • no-background Sets an element's background to value transparent
  • no-select Removes the ability to select an element
  • center-display Center a div an element using block
  • center-flex Center a div an element using flex

Fonts

  • arial Change something's font to Arial
  • monospace Change something's font to Monospace
  • times-new-roman Change something's font to Times New Roman
  • github Change something's font to GitHub's markdown fonts

Source: https://github.com/AlexFlipnote/Modesta/blob/master/scss/components/_forceStyle.scss

Clone this wiki locally