CSS all Property

Multi tool use
Multi tool use







googletag.cmd.push(function() { googletag.display('div-gpt-ad-1422003450156-2'); });




CSS all Property



Previous
Complete CSS Reference
Next



Example


Change all the properties applied to the element or the element's parent to their initial value:



div
{
    background-color: yellow;
    color: red;
    all: initial;
}

Try it Yourself »



Definition and Usage


The all property resets all properties, apart from unicode-bidi and
direction, to their initial or inherited value.

























Default value: none
Inherited: no
Animatable: no. Read about animatable
Version: CSS3
JavaScript syntax:
object.style.all="initial"




Browser Support


The numbers in the table specify the first browser version that fully supports the property.




















Property
all 37.0 Not supported 27.0 9.1 24.0




CSS Syntax



all: initial|inherit|unset;


Property Values




















Value Description
initial Changes all the properties applied to the element or the element's parent to their initial value
inherit Changes all the properties applied to the element or the element's parent to their parent value
unset Changes all the properties applied to the element or the element's parent to their parent value if they are inheritable or to their initial value if not





Previous
Complete CSS Reference
Next

5q,HhzXZbmpv 79eEW9s5n,rFAfC,qId gTUgl3nV51Q ezgvOF,1lcl,p os3k sn5Z9kg63eBjkREmhqB5yd
bf,1SiNRRYA YuOEq1qbSRbsU8eWilu,o08SWJceneEV7nsGlDwzcwUpd vIai lJDM17q DQcyRzt M cFaBm7,1mXX

Popular posts from this blog

Chat program with C++ and SFML

Function to Return a JSON Like Objects Using VBA Collections and Arrays

Python - Quiz Game with Tkinter