How to revert back to a value in css [closed]


Tags: css

Problem :

I'm trying to bring up certain elements by their z-index

z-index:100;

But then I need to put them back to where they were, how do I get that value or even just set to it without actually knowing it?



Solution :

If you just need to bring up an element and bring it back down - you can add/remove a class to override the previous z-index - assuming you don't need to know the orignal z-index.


    CSS Howto..

    CSS: How do I make text indent for a label with long text?

    how to remove elements in document fragment after append

    How to distribute DIVS evenly (horizontal and vertical) that floats with each other?

    How to indent multiple levels of select optgroup with CSS?

    Use CSS to show two div's with background image over a containing div

    How to make a parent --> node relationship in css?

    How to do Vertical+Horizontal centering in CSS

    How can I make a CSS glass/blur effect work for an overlay?

    Adobe Flex Show Content inside Rectangle (itemRenderer)

    How to use the word-wrap property in CSS 2.1 and validate CSS

    How to add pictures around a background through CSS?

    How to Style Specific Element On Hover With CSS?

    How can I format my css text so that the result is in 2 columns?

    How to debug IE print problem

    How to test browser performance of specific CSS property?

    How to show text on hover only in CSS

    How to make a circular image in css

    Change jQuery slideshow script to rotate background image defined in css class

    How to make a border in css that is actually on the very edges

    CSS accordion menu - How to expand and hyperlink

    How to use css classes in Best way without redundant?

    How to Tie Events to CSS

    Background image url is not showing the image

    How to put text and image in a same line?

    HTML: how to make 2 tables with different CSS [closed]

    CSS how to style the “content”/“background” attribute of a custom checkbox tick sign?

    How to prevent span tags overlapping each other?

    How to assign speed parameter to callback functions

    How do i make this form same on all browsers?

    How do I make a text input non-editable?