aboutsummaryrefslogtreecommitdiff
path: root/files/es/web/css/margin-right
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
commit1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch)
tree0dd8b084480983cf9f9680e8aedb92782a921b13 /files/es/web/css/margin-right
parent4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff)
downloadtranslated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip
initial commit
Diffstat (limited to 'files/es/web/css/margin-right')
-rw-r--r--files/es/web/css/margin-right/index.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/files/es/web/css/margin-right/index.html b/files/es/web/css/margin-right/index.html
new file mode 100644
index 0000000000..7d7f2b6486
--- /dev/null
+++ b/files/es/web/css/margin-right/index.html
@@ -0,0 +1,26 @@
+---
+title: margin-right
+slug: Web/CSS/margin-right
+translation_of: Web/CSS/margin-right
+---
+<h3 id="Definicion" name="Definicion">Definicion</h3>
+<p>El margen derecho de propiedad establece el margen derecho de un elemento.</p>
+<ul>
+ <li>Nota: Los valores negativos son permitidas.</li>
+ <li>Heredado: No.</li>
+</ul>
+<h3 id="Sintaxis_JavaScript" name="Sintaxis_JavaScript">Sintaxis JavaScript</h3>
+<p>CSS propiedades también se puede cambiar dinámicamente con una JavaScript. Scripting Sintaxis: object.style.marginRight="10px"</p>
+<h3 id="Ejemplo" name="Ejemplo">Ejemplo</h3>
+<pre>h1
+{
+margin-right: 10px
+}
+h2
+{
+margin-right: -20px
+}
+</pre>
+<ul>
+ <li>Fuente: [<a class="external" href="http://www.w3schools.com/css/pr_margin-right.asp">] </a></li>
+</ul>