QNA > C > Come Cambiare Il Colore Di Un Bordo Html

Come cambiare il colore di un bordo HTML

Le tabelle possono avere colori per i bordi esterni e per le celle. They also can have background colors, patterns, and graphic images as backdrops for the full table or for selected rows and cells.

main-qimg-6e396aebf3111446a7a1f410ff636b6f
  1. .inset { border:inset 5px red; } 
  2. .outset { border:outset 5px red; } 
  3. .ridge { border:ridge 5px red; } 
  4. .groove { border:groove 5px red; } 
  5. .dashed { border:dashed 5px red;} 
  6. .dotted { border:dotted 5px red;} 
  7. .solid { border:solid 5px red;} 
  8. .double {border:double 5px red;} 
  9.  
  10. .inset td, .outset td, .ridge td, .groove td, .dashed td,  
  11. .dotted td, .solid td, .double td {border:inset 1px #000;} 
  12.  

You can create your own 3-D shading effects by styling each of the borders separately with border-top, border-right, border-bottom, and border-left colors. The following tables creates their own 3-D effects with solid borders tinted to resemble inset and outset styles. The style sheets used for these two tables are shown in Listing.

main-qimg-8522df82c7acfad6dfa0a7057676b726
  1. /* INSET STYLE */ 
  2. #TAB1 { border:solid 7px; 
  3. border-color:#B22222 #FEB9B9 #FEB9B9 #B22222; } 
  4.  
  5. /* OUTSET STYLE */ 
  6. #TAB2 { border:solid 7px; 
  7. border-top-color:#FEB9B9; 
  8. border-right-color:#B22222; 
  9. border-bottom-color:#B22222; 
  10. border-left-color:#FEB9B9; } 
  11.  
  12. #TAB1 td, #TAB2 td { border:inset 1px #000; } 
  13.  

Di Quince

Qual è il valore principale della Disney? :: Qual è il minimo che Netflix paga per i diritti di streaming di un film (compresi i film indipendenti e a basso budget)?
Link utili