mozilla

Compare Revisions

CSS values syntax

Change Revisions

Revision 313527:

Revision 313527 by teoli on

Revision 313551:

Revision 313551 by teoli on

Title:
CSS values syntax
CSS values syntax
Slug:
CSS/CSS_values_syntax
CSS/CSS_values_syntax
Tags:
"CSS", "css reference"
Content:

Revision 313527
Revision 313551
tt195        <tr>
196          <th colspan="3" scope="col">
197            Transforms
198          </th>
199        </tr>
200        <tr>
201          <td>
202            {{cssxref("transform")}}
203          </td>
204          <td id="syntax-transform">
205            <code>&nbsp;none | t&lt;ransform-function&gt;+</code>
206          </td>
207          <td id="initial-transform">
208            <code>none</code>
209          </td>
210        </tr>
211        <tr>
212          <td>
213            {{cssxref("transform-origin")}}
214          </td>
215          <td id="syntax-transform-origin">
216            <code>[ &lt;percentage&gt; | &lt;length&gt; | left | 
 >center | right | top | bottom] | [ [ &lt;percentage&gt; | &lt;len
 >gth&gt; | left | center | right ] &amp;&amp; [ &lt;percentage&gt;
 > | &lt;length&gt; | top | center | bottom ] ] &lt;length&gt;?</co
 >de>
217          </td>
218          <td id="initial-transform-origin">
219            <code>50% 50%</code>
220          </td>
221        </tr>
222        <tr>
223          <td>
224            {{cssxref("transform-style")}}
225          </td>
226          <td id="syntax-transform-style">
227            <code>flat | preserve-3d</code>
228          </td>
229          <td id="initial-transform-style">
230            <code>flat</code>
231          </td>
232        </tr>
233        <tr>
234          <td>
235            {{cssxref("perspective")}}
236          </td>
237          <td id="syntax-perspective">
238            <code>none | &lt;length&gt;</code>
239          </td>
240          <td id="initial-perspective">
241            <code>none</code>
242          </td>
243        </tr>
244        <tr>
245          <td>
246            {{cssxref("perspective-origin")}}
247          </td>
248          <td id="syntax-perspective-origin">
249            <code>[ &lt;percentage&gt; | &lt;length&gt; | left | 
 >center | right | top | bottom] | [ [ &lt;percentage&gt; | &lt;len
 >gth&gt; | left | center | right ] &amp;&amp; [ &lt;percentage&gt;
 > | &lt;length&gt; | top | center | bottom ] ]</code>
250          </td>
251          <td id="initial-perspective-origin">
252            <code>50% 50%</code>
253          </td>
254        </tr>

Back to History