How to add different CSS to the same HTML tags?

Tags: html,css,twitter-bootstrap-3,padding

Problem :

So I want to have a horizontal rule <hr> with a padding of 50px using CSS. However, I already have custom CSS assigned to the <hr> tag which already has padding-bottom:25px; padding-top:100px; padding-left:50px; padding-right:50px; Which is being used to divide the footer from the main content. So how would I achieve having two different CSS styles for the same element?

P.S. I am using Twitter Bootstrap 3

Solution :

I actually found the answer to what I wanted after all this time.

Basically i did the following:

hr.custom {
margin: 10px;

Then I used:

<hr class="custom">

    CSS Howto..

    How to get list of Css class use in the HTML file?

    How to size images loaded from other users such that dimensions are maintained yet a max width and height are set with css? (HTML/JS/CSS)

    How do I correct this CSS fluid layout glitch?

    how to clean the css style of jquery-ui be added automatically when someone use “.draggable()”

    How to achieve the following design in css in jquery mobile

    How to remove this head css styling with javascript?

    How to get different height html divs to float up

    How to get css class name using Selenium?

    In Windows8 Metro, how can I change the highlight color of the already selected item in a dropdown list

    How do I add a margin between bootstrap columns without wrapping

    How to use SVG fragment identifier for CSS background image on iOS?

    how to center css navigation bar

    How can i fill a paragraph (until end of line) with dashes using CSS

    How to show CSS transitions only on hover?

    How to get rid of the spaces between CSS nav element borders?

    How to select attribute value for a selected element with wombat

    How to vertically align middle some header text between 2 header images on a website?

    How to expand link on hoover? Add “<” “>” symbols around link?

    how to to set chat box based on user id using css

    How to add table highlighting in PHP?

    css: how to put text between two images side by side?

    Greasemonkey: How to do something when style=“display: none;” changes?

    how to i convert this list to html list?

    Rails 4 -how to write a view that displays instances in alternating format

    css make img shown when hover a li

    How to use CSS to make images in multiple li of one ul align by bottom edge?

    How to get rid of text form borders in Chrome and Firefox?

    How do I change the admin header color in Magento?

    How to make circle by using HTML CSS only?

    How to define a good convention for css?