Meta tags:
description= CSS border-width es una propiedad abreviada que permite establecer el grosor de los cuatro lados del borde de un elemento. Ver ejemplos y practicar.;
Headings (most frequently used words):
propiedad, valores, los, lados, css, border, width, cómo, la, abreviada, asigna, sintaxis, palabras, clave, vs, longitudes, cuándo, usar, cada, una, práctica, un, solo, valor, cuatro, ancho, diferente, por, lado, resultado,
Text of the page (most frequently used words):
#border (65), width (43), css (29), style (23), text (21), font (20), color (19), los (18), grid (18), borde (17), aprender (15), valores (14), html (13), column (13), bottom (12), top (12), ancho (12), background (12), right (11), left (11), propiedad (10), valor (10), medium (10), break (10), que (9), padding (9), image (9), animation (9), una (8), pruébalo (8), define (8), del (8), position (8), stroke (8), clave (7), line (7), margin (7), overflow (7), decoration (7), offset (7), flex (7), lados (6), this (6), page (6), thin (6), thick (6), grosor (6), por (6), cuatro (6), align (6), type (6), variant (6), w3docs (5), palabras (5), cada (5), abreviada (5), class (5), transition (5), last (5), outline (5), radius (5), child (5), formatter (5), para (4), generator (4), práctica (4), javascript (4), usar (4), sintaxis (4), píxeles (4), elemento (4), con (4), las (4), 1px (4), body (4), paragraph (4), set (4), head (4), lado (4), ver (4), mode (4), transform (4), fill (4), size (4), height (4), list (4), template (4), row (4), gap (4), rule (4), nth (4), first (4), json (3), code (3), encoder (3), editor (3), cuestionarios (3), ejercicios (3), php (3), inherit (3), longitud (3), 5px (3), predeterminado (3), initial (3), navegador (3), solid (3), cuando (3), más (3), mismo (3), copiar (3), object (3), propiedades (3), superior (3), derecho (3), inferior (3), izquierdo (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), auto (3), direction (3), clip (3), box (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), ejemplos (2), fragmentos (2), longitudes (2), cuándo (2), cómo (2), asigna (2), palabra (2), cuáles (2), siguientes (2), pueden (2), especificar (2), bordes (2), establece (2), length (2), medio (2), este (2), definidos (2), sea (2), inicial (2), usa (2), exacto (2), común (2), rem (2), side (2), mixed (2), doctype (2), caja (2), tiene (2), diferente (2), solo (2), animable (2), forma (2), orden (2), establecer (2), visibility (2), unicode (2), timing (2), function (2), duration (2), delay (2), shadow (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, todos, derechos, reservados, hecho, desarrolladores, idioma, política, privacidad, contacto, acerca, empresa, try, tutoriales, gratuitos, web, desde, 2014, next, previous, yes, was, helpful, comprobar, 5em, porcentaje, hereda, padre, grueso, delgado, relativa, descripción, negativos, son, inválidos, hacen, toda, declaración, ignorada, sin, mostrará, número, importe, prefieras, decida, asignan, pequeños, aproximadamente, 3px, mayoría, navegadores, aunque, especificación, fija, necesites, predecible, caso, diseños, reales, resultado, each, has, its, own, 2px, 8px, 12px, 24px, 10px, 666, aquí, comparan, tres, tamaños, además, borderwidth, css1, versión, heredado, etc, porcentajes, están, permitidos, sigue, sentido, horario, utilizado, todas, abreviadas, dados, acepta, uno, cantidad, indiques, determina, qué, aplican, pinta, distinto, estableces, pero, defines, estilo, esta, razón, funciona, permanecerá, invisible, none, información, puedes, independiente, individuales, aplica, vez, componente, amplia, permite, practicar, zoom, index, writing, will, change, widows, white, space, vertical, user, select, bidi, property, 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, sizing, source, slice, outset, 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, calculator, colors, hsl, hex, mixer, converter, picker, general, cursos,
Text of the page (random words):
propiedad css border width 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 border width css border width es una propiedad abreviada que permite establecer el grosor de los cuatro lados del borde de un elemento ver ejemplos y practicar la propiedad css border width establece el ancho grosor del borde de un elemento es una propiedad abreviada que se aplica a los cuatro lados a la vez y es el componente de ancho de la propiedad abreviada más amplia border puedes establecer cada lado de forma independiente con las propiedades individuales border top width define el ancho del borde superior border right width define el ancho del borde derecho border bottom width define el ancho del borde inferior border left width define el ancho del borde izquierdo i información un borde solo se pinta cuando border style tiene un valor distinto al predeterminado none si estableces border width pero no defines un estilo de borde el borde permanecerá invisible esta es la razón más común por la que un borde no funciona cómo la propiedad abreviada asigna valores a los lados border width acepta de uno a cuatro valores y la cantidad de valores que indiques determina a qué lados se aplican valores dados superior derecho inferior izquierdo border width a a a a a border width a b a b a b border width a b c a b c b border width a b c d a b c d la forma de cuatro valores sigue el orden en sentido horario superior derecho inferior izquierdo utilizado por todas las propiedades abreviadas de la caja css el mismo orden que margin y padding cada valor es un line width ya sea una longitud px em rem etc o una de las palabras clave thin medium o thick los porcentajes no están permitidos valor inicial medium heredado no animable sí el ancho del borde es animable versión css1 sintaxis javascript object style borderwidth 1px 5px sintaxis border width line width 1 4 initial inherit copiar un solo valor los cuatro lados doctype html html head style p border style solid border width 1 px padding 5 px style head body p this paragraph s border width is set to 1px p body html copiar pruébalo tú mismo ancho diferente por lado aquí se comparan los tres tamaños de palabras clave lado a lado además de una caja con cuatro valores en la que cada borde tiene un grosor diferente doctype html html head style p color 666 padding 5 px border style solid thin border width 1 px medium border width medium thick border width 10 px mixed top right bottom left border width 2 px 8 px 12 px 24 px style head body p class thin this paragraph s border width is set to 1px p p class medium this paragraph s border width is set to medium p p class thick this paragraph s border width is set to 10px p p class mixed each side has its own width 2px 8px 12px 24px p body html copiar pruébalo tú mismo resultado palabras clave vs longitudes cuándo usar cada una usa una longitud px em rem cuando necesites un grosor exacto y predecible este es el caso más común en diseños reales usa las palabras clave thin medium y thick cuando el número exacto de píxeles no importe y prefieras que el navegador decida se asignan a valores de píxeles pequeños definidos por el navegador aproximadamente 1px 3px y 5px en la mayoría de los navegadores aunque la especificación no los fija medium es el valor inicial por lo que un elemento con border style solid y sin border width ya mostrará un borde de ancho medio los valores negativos son inválidos y hacen que toda la declaración sea ignorada valores valor descripción pruébalo medium define un borde de grosor medio este es el valor predeterminado palabra clave relativa con valores en píxeles definidos por el navegador pruébalo thin define un borde delgado pruébalo thick define un borde grueso pruébalo length define el grosor del borde pruébalo initial establece la propiedad en su valor predeterminado pruébalo inherit hereda la propiedad de su elemento padre práctica práctica cuáles de los siguientes valores se pueden usar para especificar el ancho de los bordes css cuáles de los siguientes valores se pueden usar para especificar el ancho de los bordes css thin medium y thick ancho en píxeles p ej 5px un valor en porcentaje p ej 20 un valor de longitud p ej 5em la palabra clave inherit comprobar was this page helpful yes no previous border top width next bottom on this page cómo la propiedad abreviada asigna valores a los lados sintaxis palabras clave vs longitudes cuándo usar cada una valores 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
|