Meta tags:
description= La propiedad CSS outline-style especifica el estilo del contorno de un elemento. Consulta los valores y ejemplos.;
Headings (most frequently used words):
outline, propiedad, style, ejemplo, de, la, con, el, valor, valores, css, por, qué, usar, un, sintaxis, consejos, errores, comunes, propiedades, relacionadas, práctica, resultado, todos, los, groove, ridge, inset, outset, dotted, dashed,
Text of the page (most frequently used words):
#outline (136), style (76), border (41), color (37), text (35), html (31), css (30), the (28), width (26), title (24), with (21), propiedad (20), pruébalo (20), font (20), los (18), class (18), grid (18), this (17), del (17), con (17), #dotted (16), body (16), head (16), aprender (15), outset (15), paragraph (15), set (15), property (15), example (15), para (14), inset (14), ridge (14), groove (14), dashed (14), valor (14), column (13), padding (12), align (12), background (12), ejemplo (11), offset (10), solid (10), none (10), que (10), break (10), por (9), double (9), especifica (9), copiar (9), top (9), right (9), left (9), bottom (9), image (9), animation (9), valores (8), mismo (8), document (8), doctype (8), lorem (8), ipsum (8), simply (8), dummy (8), printing (8), position (8), stroke (8), center (7), elemento (7), overflow (7), decoration (7), flex (7), page (6), usa (6), value (6), radius (6), margin (6), type (6), variant (6), w3docs (5), sintaxis (5), hidden (5), grosor (5), como (5), foco (5), estilo (5), 69afad (5), ccc (5), height (5), contorno (5), transition (5), line (5), last (5), child (5), formatter (5), code (4), generator (4), práctica (4), auto (4), establece (4), abreviatura (4), línea (4), diseño (4), sin (4), teclado (4), box (4), una (4), ver (4), mode (4), transform (4), fill (4), size (4), list (4), template (4), row (4), gap (4), rule (4), nth (4), first (4), todos (3), json (3), encoder (3), editor (3), cuestionarios (3), ejercicios (3), php (3), javascript (3), ejemplos (3), propiedades (3), qué (3), siguientes (3), espacio (3), cuando (3), borde (3), hacia (3), shadow (3), outlines (3), predeterminado (3), visible (3), initial (3), esta (3), establecer (3), 1c87c9 (3), object (3), word (3), wrap (3), spacing (3), range (3), origin (3), justify (3), items (3), before (3), after (3), max (3), letter (3), content (3), columns (3), direction (3), clip (3), only (3), string (3), tools (3), italiano (2), português (2), español (2), français (2), русский (2), deutsch (2), english (2), beautifier (2), diff (2), password (2), herramientas (2), python (2), java (2), git (2), libros (2), fragmentos (2), relacionadas (2), consejos (2), errores (2), comunes (2), usar (2), cuáles (2), son (2), válidos (2), ocupa (2), caja (2), más (2), ser (2), medium (2), solo (2), puede (2), invisible (2), inherit (2), líneas (2), sólidas (2), serie (2), muestra (2), este (2), gray (2), elementos (2), efecto (2), diferente (2), vez (2), diferencia (2), lado (2), fuera (2), cada (2), visibility (2), unicode (2), timing (2), function (2), duration (2), delay (2), rendering (2), skip (2), perspective (2), inside (2), anchor (2), path (2), blend (2), min (2), rows (2), start (2), end (2), flow (2), feature (2), display (2), empty (2), counter (2), count (2), repeat (2), read (2), hash (2), 2026, derechos, reservados, hecho, desarrolladores, idioma, política, privacidad, contacto, acerca, empresa, try, tutoriales, gratuitos, web, desde, 2014, next, previous, yes, was, helpful, comprobar, equivalente, necesites, indicador, cambie, tamaño, posición, forme, parte, sitúa, pegado, forma, predeterminada, aleja, afuera, adentro, negativo, afectar, dar, elimina, anillo, requiere, reemplázalo, personalizado, usuarios, puedan, seguir, viendo, elimines, definido, generalmente, aparece, pero, estableces, será, explícito, currentcolor, hereda, padre, relieve, empotrado, cresta, ranura, dobles, guiones, puntos, igual, existe, coherencia, ningún, descripción, 7f7fa7, segundo, juntos, 4px, thick, 666, 000, 191, 142, rgb, another, resultado, outlinestyle, dom, css2, versión, animable, heredable, aplica, inicial, crean, sombrear, función, mayor, tono, medio, casi, negro, blanco, puro, acepta, aparezca, algún, debe, establecerse, activa, combínala, tres, bordes, puedes, básico, sigue, controlar, esquina, individualmente, pinta, afecta, agregar, cambiar, nunca, desplaza, circundantes, incluyen, difiere, dos, maneras, importantes, usan, principalmente, hacer, usuario, navega, enlace, botón, campo, formulario, navegador, dibuja, pueda, dónde, está, eliminar, ese, reemplazo, rompe, accesibilidad, preferible, rediseñarlo, lugar, eliminarlo, página, explica, cómo, ejecutables, dibujada, justo, alrededor, cuatro, lados, consulta, zoom, index, writing, will, change, widows, white, space, vertical, user, select, bidi, underline, orientation, indent, ink, combine, upright, table, layout, tab, linecap, dashoffset, dasharray, speak, shape, outside, scrollbar, scroll, behavior, resize, quotes, pointer, events, place, orphans, order, opacity, rotate, distance, fit, mix, media, lines, clamp, keyframes, isolation, import, hyphens, hanging, punctuation, areas, area, weight, numeric, ligatures, east, asian, caps, alternates, stretch, language, override, adjust, kerning, values, settings, family, face, float, shrink, grow, basis, filter, cells, cursor, reset, increment, span, clear, charset, caret, caption, side, sizing, source, slice, collapse, block, bleed, attachment, backface, appearance, play, state, name, iteration, self, all, properties, visited, valid, target, selection, scope, root, required, write, placeholder, out, optional, not, link, lang, invalid, indeterminate, hover, fullscreen, focus, enabled, disabled, dir, default, checked, active, selectores, selectors, css3, guía, flexbox, guides, gradientes, nombres, colores, tablas, links, texto, uso, introducción, basic, iniciar, sesión, buscar, formatters, url, reverse, sha256, md5, length, calculator, colors, hsl, hex, mixer, converter, picker, general, cursos,
Text of the page (random words):
propiedad css outline style w3docs w3docs libros aprender html aprender css aprender javascript aprender git aprender java aprender php aprender python cursos cuestionarios ejercicios fragmentos herramientas general tools html editor password generator html encoder code diff json beautifier ver los 13 color tools color picker color converter color mixer color hex colors hsl ver los 10 string tools string length calculator md5 hash generator sha256 hash generator string reverse url encoder ver los 19 code formatters javascript formatter css formatter html formatter json formatter php formatter buscar en w3docs k es english en deutsch de русский ru français fr español es português pt italiano it iniciar sesión aprender css css basic introducción a css uso de css sintaxis css css id y class texto en css css font css links tablas css css border css padding css margin nombres de colores css gradientes css css guides guía de flexbox propiedades de css3 css selectors selectores css active after before checked default dir disabled empty enabled first child first letter first line first of type focus fullscreen hover in range indeterminate invalid lang last child last of type link not nth child nth last child nth last of type nth of type only child only of type optional out of range placeholder read only read write required root scope selection target valid visited css properties align content align items all animation align self animation delay animation direction animation duration animation fill mode animation iteration count animation name animation play state animation timing function appearance backface visibility background background attachment background blend mode background clip background color background image background origin background position background position x background position y background repeat background size bleed block overflow border border bottom border bottom color border bottom left radius border bottom right radius border bottom style border bottom width border collapse border color border image border image outset border image repeat border image slice border image source border image width border left border left color border left style border left width border radius border right border right color border right style border right width border spacing border style border top border top color border top left radius border top right radius border top style border top width border width bottom box decoration break box shadow box sizing break after break before break inside caption side caret color charset clear clip clip path color columns column count column fill column gap column rule column rule color column rule style column rule width column span column width content counter increment counter reset cursor direction display empty cells fill filter flex flex basis flex direction flex flow flex grow flex shrink flex wrap float font font face font display font family font feature settings font feature values font kerning font size font size adjust font language override font stretch font style font variant font variant alternates font variant caps font variant east asian font variant ligatures font variant numeric font weight grid grid area grid auto columns grid auto flow grid auto rows grid column grid column end grid column gap grid column start grid gap grid row grid row end grid row gap grid row start grid template grid template areas grid template columns grid template rows hanging punctuation height hyphens image rendering import initial letter isolation justify content justify items keyframes left letter spacing line break line clamp line height list style list style image list style position list style type margin margin bottom margin left margin right margin top max height max lines max width media min height min width mix blend mode object fit object position offset offset anchor offset distance offset path offset position offset rotate opacity order orphans outline outline color outline offset outline style outline width overflow overflow anchor overflow wrap overflow x overflow y padding padding bottom padding left padding right padding top page break page break after page break before page break inside perspective perspective origin place items pointer events position quotes resize right scroll behavior scrollbar shape outside speak stroke stroke dasharray stroke dashoffset stroke linecap stroke width tab size table layout text align text align last text combine upright text decoration text decoration color text decoration line text decoration skip text decoration skip ink text decoration style text fill color text indent text justify text orientation text overflow text rendering text shadow text stroke text stroke color text stroke width text transform text underline position top transform transform origin transform style transition transition delay transition duration transition property transition timing function unicode bidi unicode range user select vertical align visibility white space widows width will change word break word spacing word wrap writing mode z index zoom propiedad css outline style la propiedad css outline style especifica el estilo del contorno de un elemento consulta los valores y ejemplos la propiedad css outline style establece el estilo de línea del contorno de un elemento por ejemplo una línea solid dashed o dotted un outline es una línea dibujada justo fuera del borde del elemento alrededor de los cuatro lados a la vez esta página explica cómo se ve cada estilo de contorno en qué se diferencia outline style de border style y muestra ejemplos ejecutables para cada valor por qué usar un outline los outlines se usan principalmente para hacer visible el foco cuando un usuario navega con el teclado hacia un enlace botón o campo de formulario el navegador dibuja un contorno para que pueda ver dónde está eliminar ese contorno sin un reemplazo rompe la accesibilidad del teclado por lo que es preferible rediseñarlo en lugar de eliminarlo el outline difiere del border de dos maneras importantes no ocupa espacio el outline se pinta fuera del borde del elemento y no afecta al diseño por lo que agregar o cambiar un outline nunca desplaza los elementos circundantes el width y el height del elemento no incluyen el outline no se puede controlar por lado o esquina individualmente a diferencia de los bordes no puedes establecer un outline diferente en un solo lado y un outline básico sigue la caja no su border radius para que aparezca algún outline outline style debe establecerse con un valor diferente de none esta propiedad es la que activa el outline combínala con outline color y outline width o usa la abreviatura outline para establecer los tres a la vez la propiedad outline style acepta los siguientes valores none hidden dotted dashed solid double groove ridge inset outset los valores groove ridge inset y outset crean un efecto 3d al sombrear el outline en función del outline color el efecto es más visible con un grosor mayor y un color de tono medio es casi invisible en negro o blanco puro valor inicial none se aplica a todos los elementos heredable no animable no versión css2 sintaxis dom object style outlinestyle dotted sintaxis sintaxis css de outline style outline style none hidden dotted dashed solid double groove ridge inset outset initial inherit copiar ejemplo de la propiedad outline style doctype html html head title title of the document title style p1 outline style solid p2 outline style dashed p3 outline style dotted p4 outline style double p5 outline style none hidden p6 outline style groove outline color ccc p7 outline style ridge outline color ccc p8 outline style inset outline color ccc p9 outline style outset outline color ccc style head body h2 outline property example h2 p class p1 this is a paragraph with outline set to solid p p class p2 this is a paragraph with outline set to dashed p p class p3 this is a paragraph with outline set to dotted p p class p4 this is a paragraph with outline set to double p p class p5 this is a paragraph with outline set to none p p class p6 this is a paragraph with outline set to groove p p class p7 this is a paragraph with outline set to ridge p p class p8 this is a paragraph with outline set to inset p p class p9 this is a paragraph with outline set to outset p body html copiar pruébalo tú mismo resultado ejemplo de la propiedad outline style con todos los valores css outline style another code example doctype html html head title title of the document title style p dotted outline 4 px dotted gray p dashed outline 0 2 em dashed rgb 142 191 66 p solid outline 4 px solid ccc p double outline 4 px double 000 p groove outline 4 px groove 666 p ridge outline thick ridge 1c87c9 p inset outline medium inset 1c87c9 p outset outline 4 px outset 1c87c9 style head body h2 outline property example h2 p class dotted lorem ipsum is simply dummy text of the printing p p class dashed lorem ipsum is simply dummy text of the printing p p class solid lorem ipsum is simply dummy text of the printing p p class double lorem ipsum is simply dummy text of the printing p p class groove lorem ipsum is simply dummy text of the printing p p class ridge lorem ipsum is simply dummy text of the printing p p class inset lorem ipsum is simply dummy text of the printing p p class outset lorem ipsum is simply dummy text of the printing p body html copiar pruébalo tú mismo este segundo ejemplo usa la abreviatura outline para establecer el estilo el grosor y el color juntos por ejemplo outline 4px dotted gray ejemplo de la propiedad outline style con el valor groove example of the outline style property with the groove value doctype html html head title title of the document title style p color 7f7fa7 text align center outline width 8 px outline style groove padding 10 px style head body h1 outline property example h1 p this is a paragraph with outline set to groove p body html copiar pruébalo tú mismo ejemplo de la propiedad outline style con el valor ridge example of the outline style property with the ridge value doctype html html head title title of the document title style p color 69afad text align center outline width 8 px outline style ridge padding 10 px style head body h1 outline property example h1 p this is a paragraph with outline set to ridge p body html copiar pruébalo tú mismo ejemplo de la propiedad outline style con el valor inset example of the outline style property with the inset value doctype html html head title title of the document title style p color 69afad text align center outline width 8 px outline style inset padding 10 px style head body h1 outline property example h1 p this is a paragraph with outline set to inset p body html copiar pruébalo tú mismo ejemplo de la propiedad outline style con el valor outset example of the outline style property with the outset value doctype html html head title title of the document title style p color 69afad text align center outline width 8 px outline style outset padding 10 px style head body h1 outline property example h1 p this is a paragraph with outline set to outset p body html copiar pruébalo tú mismo ejemplo de la propiedad outline style con el valor dotted example of the outline style property with the dotted value doctype html html head title title of the document title style p color 69afad text align center outline width 4 px outline style dotted padding 10 px style head body h1 outline property example h1 p this is a paragraph with outline set to dotted p body html copiar pruébalo tú mismo ejemplo de la propiedad outline style con el valor dashed example of the outline style property with the dashed value doctype html html head title title of the document title style p color 69afad text align center outline width 4 px outline style dashed padding 10 px style head body h1 outline property example h1 p this is a paragraph with outline set to dashed p body html copiar pruébalo tú mismo valores valor descripción pruébalo none no muestra ningún outline este es el valor predeterminado de esta propiedad pruébalo hidden igual que none para outlines el valor existe por coherencia con border style pruébalo dotted el outline se especifica como una serie de puntos pruébalo dashed el outline se especifica como una serie de guiones pruébalo solid el outline se especifica como líneas sólidas pruébalo double el outline se especifica como líneas sólidas dobles pruébalo groove especifica un outline con ranura en 3d pruébalo ridge especifica un outline con cresta en 3d pruébalo inset especifica un outline empotrado pruébalo outset especifica un outline en relieve pruébalo initial establece la propiedad en su valor predeterminado pruébalo inherit hereda la propiedad de su elemento padre consejos y errores comunes outline style solo puede ser invisible sin un grosor o color definido el grosor predeterminado del outline es medium y el color es currentcolor por lo que generalmente sí aparece pero si estableces outline width 0 no será visible usa la abreviatura outline para ser explícito no elimines los outlines de foco sin más outline none elimina el anillo de foco del teclado si el diseño lo requiere reemplázalo con un outline personalizado o un estilo de foco con box shadow para que los usuarios de teclado puedan seguir viendo el foco usa outline offset para dar espacio como el outline se sitúa pegado al borde de forma predeterminada la propiedad outline offset lo aleja hacia afuera o hacia adentro con un valor negativo sin afectar al diseño outline vs border usa un outline cuando necesites un indicador que no cambie el tamaño ni la posición de la caja usa un border cuando la línea forme parte del diseño del elemento propiedades relacionadas outline abreviatura de outline width outline style y outline color outline color establece el color del outline outline width establece el grosor del outline border el equivalente del outline que sí ocupa espacio práctica práctica cuáles de los siguientes son valores válidos para la propiedad outline style en css cuáles de los siguientes son valores válidos para la propiedad outline style en css none hidden auto center dotted dashed solid double groove ridge inset outset comprobar was this page helpful yes no previous outline offset next outline width on this page por qué usar un outline sintaxis valores consejos y errores comunes propiedades relacionadas práctica w3docs tutoriales ejemplos ejercicios fragmentos y cuestionarios gratuitos para la web desde 2014 libros aprender html aprender css aprender javascript aprender git aprender java aprender php aprender python práctica ejercicios cuestionarios editor try it herramientas html editor password generator html encoder code diff json beautifier empresa acerca de contacto política de privacidad idioma english deutsch русский français español português italiano 2026 w3docs todos los derechos reservados hecho para desarrolladores
|