...
Code Block |
---|
<fieldset class="pro-only"> <details> <summary> <div class="row collapsable-section-title-container cp_secondaryTitle"> <div class="col-sm-12"> <h1>Clickable Title for the Section</h1> </div> <span class="icon details-closed"></span> </div> </summary> <p>This is restricted collapsible content.</p> </details> </fieldset> |
Allowed CSS Properties
This section lists all the CSS properties and their permissible values that are allowed through the validator, based on the original XML file.
...
1. General Properties
1.1 position
Allowed Values:
relative
,absolute
,static
,inherit
.
1.2 border-radius
Allowed Values:
Length values (e.g.,
px
,em
,%
).
1.3 opacity
Allowed Values:
Numbers (0.0–1.0) or percentage values.
...
2. Background Properties
2.1 background
Description: Shorthand for other background-related properties.
Allowed Sub-Properties:
background-color
background-image
background-repeat
background-attachment
background-position
2.2 background-attachment
Allowed Values:
scroll
,fixed
,inherit
.
2.3 background-color
Allowed Values:
Named colours (e.g.,
red
,blue
).Hex codes (e.g.,
#ff0000
,#fff
).RGB values (e.g.,
rgb(255, 0, 0)
).transparent
,inherit
.
...
3. Text and Visual Properties
3.1 color
Allowed Values:
Named colours (e.g.,
red
,blue
).Hex codes (e.g.,
#ffffff
,#000
).RGB values (e.g.,
rgb(255, 0, 0)
).System colours.
3.2 text-shadow
Allowed Values:
none
,inherit
.Length values for offsets and colour values for shadows.
3.3 letter-spacing
Allowed Values:
normal
,inherit
, length values.
3.4 line-height
Allowed Values:
normal
,inherit
, number, length, or percentage.
3.5 word-spacing
Allowed Values:
normal
,inherit
, length values.
...
4. Box Model Properties
4.1 margin
Allowed Values:
auto
,inherit
, positive lengths or percentages.
4.2 border-spacing
Allowed Values:
inherit
, lengths (positive only).
4.3 clip
Allowed Values:
auto
,inherit
.
4.4 overflow
Allowed Values:
visible
,hidden
,scroll
,inherit
.
...
5. List and Display Properties
5.1 list-style-type
Allowed Values:
disc
,circle
,square
,decimal
,lower-roman
,upper-roman
.
5.2 list-style-position
Allowed Values:
inside
,outside
,inherit
.
5.3 list-style-image
Allowed Values:
none
,inherit
.
...
6. Interactive and Cursor Properties
6.1 cursor
Allowed Values:
auto
,pointer
,move
,text
,default
,inherit
.
6.2 outline-color
Allowed Values:
Colour values,
invert
,inherit
.
...
This list represents all CSS properties and their values that the validator allows.