aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/css/cursor/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-pt/web/css/cursor/index.html')
-rw-r--r--files/pt-pt/web/css/cursor/index.html159
1 files changed, 159 insertions, 0 deletions
diff --git a/files/pt-pt/web/css/cursor/index.html b/files/pt-pt/web/css/cursor/index.html
new file mode 100644
index 0000000000..152fe3b344
--- /dev/null
+++ b/files/pt-pt/web/css/cursor/index.html
@@ -0,0 +1,159 @@
+---
+title: cursor
+slug: Web/CSS/cursor
+tags:
+ - Referencia_CSS
+translation_of: Web/CSS/cursor
+---
+<p>{{ CSSRef() }}</p>
+
+<h3 id="Resumo" name="Resumo">Resumo</h3>
+
+<p>A propriedade {{ Cssxref("cursor") }} especifica o estilo do ponteiro do mouse quando estiver sobre o elemento.</p>
+
+<ul>
+ <li>Valor inicial: <code>auto</code></li>
+ <li>Aplica-se a: todos os elementos</li>
+ <li>Herdado: sim</li>
+ <li>Porcentagens: N/A</li>
+ <li>Mídia: <a href="/pt/CSS/Media/Visual" title="pt/CSS/Media/Visual">Visual</a>, <a href="/pt/CSS/Media/Interactive" title="pt/CSS/Media/Interactive">Interactive</a></li>
+ <li><a href="/pt/CSS/computed_value" title="pt/CSS/computed_value">Valor computado</a>: como especificado (endereços relativos são convertidos como absolutos)</li>
+</ul>
+
+<h3 id="Sintaxe" name="Sintaxe">Sintaxe</h3>
+
+<p><code>cursor:</code> [ {{ mediawiki.external(' ,') }}* {{ mediawiki.external(' <code>auto</code> | <code>crosshair</code> | <code>default</code> | <code>pointer</code> | <code>move</code> | <code>e-resize</code> | <code>ne-resize</code> | <code>nw-resize</code> | <code>n-resize</code> | <code>se-resize</code> | <code>sw-resize</code> | <code>s-resize</code> | <code>w-resize</code> | <code>text</code> | <code>wait</code> | <code>help</code> | <code>progress</code> | <code>copy</code> | <code>alias</code> | <code>context-menu</code> | <code>cell</code> | <code>not-allowed</code> | <code>col-resize</code> | <code>row-resize</code> | <code>no-drop</code> | <code>vertical-text</code> | <code>all-scroll</code> | <code>nesw-resize</code> | <code>nwse-resize</code> | <code>ns-resize</code> | <code>ew-resize</code> ') }} ] | {{ Cssxref("inherit") }}</p>
+
+<h3 id="Valores" name="Valores">Valores</h3>
+
+<dl>
+ <dt>&lt;url&gt; </dt>
+ <dd>URL of custom cursor. More than one URL may be provided as fallback, in case some cursor image types are not supported. A non-URL fallback (one of the other values) must be at the end of the fallback list. See <a href="pt/Using_URL_values_for_the_cursor_property">Using URL values for the cursor property</a> for more details.</dd>
+ <dt><code>default</code> </dt>
+ <dd>default cursor (typically an arrow)</dd>
+ <dt><code>auto</code> </dt>
+ <dd>equivalent to <code>text</code> when over text and <code>default</code> otherwise</dd>
+ <dt><code>crosshair</code> </dt>
+ <dd>cross cursor, often used to indicate selection in a bitmap</dd>
+ <dt><code>pointer</code> </dt>
+ <dd>cursor used when over links (typically a hand)</dd>
+ <dt><code>move</code> </dt>
+ <dd>move cursor</dd>
+ <dt><code>e-resize</code> </dt>
+ <dd>cursor for resizing the right edge of a box</dd>
+ <dt><code>ne-resize</code> </dt>
+ <dd>cursor for resizing the top right corner of a box</dd>
+ <dt><code>nw-resize</code> </dt>
+ <dd>cursor for resizing the top left corner of a box</dd>
+ <dt><code>n-resize</code> </dt>
+ <dd>cursor for resizing the top edge of a box</dd>
+ <dt><code>se-resize</code> </dt>
+ <dd>cursor for resizing the bottom right corner of a box</dd>
+ <dt><code>sw-resize</code> </dt>
+ <dd>cursor for resizing the bottom left corner of a box</dd>
+ <dt><code>s-resize</code> </dt>
+ <dd>cursor for resizing the bottom edge of a box</dd>
+ <dt><code>w-resize</code> </dt>
+ <dd>cursor for resizing the left edge of a box</dd>
+ <dt><code>text</code> </dt>
+ <dd>cursor indicating text can be selected (typically an I-beam)</dd>
+ <dt><code>wait</code> </dt>
+ <dd>cursor indicating the program is busy (sometimes an hourglass or a watch)</dd>
+ <dt><code>help</code> </dt>
+ <dd>cursor indicating help is available</dd>
+ <dt><code>progress</code> </dt>
+ <dd>cursor indicating that the program is busy but the user can still interact with it (unlike for <code>busy</code>)</dd>
+ <dt><code>copy</code> </dt>
+ <dd>cursor showing something that can be copied</dd>
+ <dt><code>alias</code> </dt>
+ <dd>cursor indicating an alias or shortcut is to be created</dd>
+ <dt><code>context-menu</code> </dt>
+ <dd>cursor indicating that a context menu is available under the cursor</dd>
+ <dt><code>cell</code> </dt>
+ <dd>cursor indicating that cells can be selected</dd>
+ <dt><code>not-allowed</code> </dt>
+ <dd>cursor showing that something cannot be done</dd>
+ <dt><code>col-resize</code> </dt>
+ <dd>cursor for resizing columns horizontally</dd>
+ <dt><code>row-resize</code> </dt>
+ <dd>cursor for resizing rows vertically</dd>
+ <dt><code>no-drop</code> </dt>
+ <dd>cursor showing that a drop is not allowed at the current location</dd>
+ <dt><code>vertical-text</code> </dt>
+ <dd>cursor indicating that vertical text can be selected (typically a sideways I-beam)</dd>
+ <dt><code>all-scroll</code> </dt>
+ <dd>cursor showing that something can be scrolled in any direction (panned)</dd>
+ <dt><code>nesw-resize</code> </dt>
+ <dd>cursor for resizing in the top-right or bottom-left directions</dd>
+ <dt><code>nwse-resize</code> </dt>
+ <dd>cursor for resizing in the top-left or bottom-right directions</dd>
+ <dt><code>ns-resize</code> </dt>
+ <dd>cursor for resizing up or down</dd>
+ <dt><code>ew-resize</code> </dt>
+ <dd>cursor for resizing left or right</dd>
+</dl>
+
+<h3 id="Exemplos" name="Exemplos">Exemplos</h3>
+
+<p><a href="/samples/cssref/cursor.html">View Live Examples</a></p>
+
+<pre>Inline:
+
+&lt;span style="cursor: crosshair"&gt;Some Text&lt;/span&gt;
+
+External:
+
+.pointer {
+ cursor: pointer;
+}
+.move {
+ cursor: move;
+}
+
+</pre>
+
+<h3 id="Notas" name="Notas">Notas</h3>
+
+<p>While this property works on older browsers, not all values are fully supported.</p>
+
+<h3 id="Especifica.C3.A7.C3.B5es" name="Especifica.C3.A7.C3.B5es">Especificações</h3>
+
+<ul>
+ <li><a class="external" href="http://www.w3.org/TR/CSS21/ui.html#propdef-cursor">CSS 2.1</a></li>
+ <li><a class="external" href="http://www.w3.org/TR/css3-ui/#cursor">css3-ui</a></li>
+</ul>
+
+<h3 id="Compatibilidade_com_navegadores" name="Compatibilidade_com_navegadores">Compatibilidade com navegadores</h3>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th>Navegador</th>
+ <th>Versão mais antiga/th&gt;</th>
+ </tr>
+ <tr>
+ <td>Internet Explorer</td>
+ <td>4</td>
+ </tr>
+ <tr>
+ <td>Firefox</td>
+ <td>1.5</td>
+ </tr>
+ <tr>
+ <td>Netscape</td>
+ <td>6</td>
+ </tr>
+ <tr>
+ <td>Opera</td>
+ <td>7</td>
+ </tr>
+ </tbody>
+</table>
+
+<h3 id="Veja_tamb.C3.A9m" name="Veja_tamb.C3.A9m">Veja também</h3>
+
+<p><span class="comment">Categorias</span></p>
+
+<p><span class="comment">Interwiki Language Links</span></p>
+
+<p>{{ languages( { "en": "en/CSS/cursor", "fr": "fr/CSS/cursor", "pl": "pl/CSS/cursor" } ) }}</p>