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..

    Table borders not showing correctly

    Only partial image showing as my background image. How can I use CSS to get the full image as my background?

    CSS: Hover in one DIV, how to display information from another DIV?

    CSS selector for showing descendants doesn't work properly

    How to create cube with only HTML and CSS?

    how to align vertically an absolute element with a variable height above its parent?

    How to position my embedded flash file

    How to add multiple button in 1 line (css)? [duplicate]

    How to get a website's position setup in a way that an image is centred?

    How do I make images fit the entire screen fully, regardless of screen size?

    How do I move a list's bullet point to the right side of the text?

    How to change css background color dynamically in php using color from database

    How to stop Visual Studio css intellisense breaking when css is added via a custom control

    How to make background image go in the “background” using CSS/HTML

    How to add an icon to a button at the bottom right corner

    how to load the dynamically changed css file

    How to add CSS Hack specifically for IE10?

    How to properly set the 100% DIV height to match document/window height?

    How to edit 'clip' CSS property in JQuery?

    How to apply bootstrap css to all buttons

    How to find the relevant stylesheet for a specific CSS code [closed]

    How to set original image for animate background image in css

    how to add scroller for one div, 2 divs always visible

    How to reference a long class name with spaces in CSS?

    How to ignore CSS img styling for certain sections of the website?

    CSS How to hide text after a span

    How to invert colors using CSS on hover

    How to replicate this button in CSS

    How to place a button in the middle of the page using HTML and CSS

    How automatically adjust div's width using CSS?