Skip to content Skip to sidebar Skip to footer

How To Omit Style Sheet To Apply Style To Other Web Page

i 'm making one message repeater like new message notification dialogue from this reference http://codepen.io/petebot/full/CpKzI here i just found one new style sheet that gives ni

Solution 1:

I'm having a really hard time understanding what you want, but it sounds like you're trying to have a style sheet only target one element in the DOM, which isn't how stylesheets work. So your option is to either give that DOM element an ID and then target all of the rules of the stylesheet specifically to that ID like so:

<div id="thisBox"class="notifbox">

#thisBox { styles go here }

However in this particular case it looks like you're trying to use the Foundation framework for one piece of your design. Foundation is an entire framework that is meant for websites to be built on, I think you're better off rolling your own styles.

Post a Comment for "How To Omit Style Sheet To Apply Style To Other Web Page"