I am using HTML's <pre></pre>
to render my text as is with \n
and spaces in a block. But bootstrap's default behaviour puts a <pre>
block in a bordered box with a grey background. I don't want that. I want it to displayed as plain text.
How to disable that styling behavior for pre?
You can just do this:
pre {border: 0; background-color: transparent;}
Check this Vanilla CSS Un-Reset for default values of other properties.