Foro de elhacker.net

Programación => Desarrollo Web => Mensaje iniciado por: Ori-chan en 20 Diciembre 2012, 21:04 pm



Título: [CSS] Esquinas bordeadas. ¿Como? No lo entiendo.
Publicado por: Ori-chan en 20 Diciembre 2012, 21:04 pm
Código
  1. <html>
  2. <head>
  3. <title>Nyan</title>
  4. </head>
  5. <STYLE type="text/css">
  6. </STYLE>
  7. <body>
  8. <DIV style="position: fixed; left: 10px; top: 10px; border: 4px
  9. soild blue; color: white; background-color: black; width: 400px">
  10. ¿Comoo?
  11. </DIV>
  12. </body>
  13. </html>
  14.  



He investigado un poco y se que hay que poner esto:

Código
  1. -webkit-border-radius:  20px;
  2. -moz-border-radius: 20px;
  3. border-radius: 20px;
  4.  
Y mas tipos... ( http://www.miguelmanchego.com/2010/css3-esquinas-redondeadas/ )

Sonara muy tonto. Pero no consigo saber donde se tiene que poner ese fragmento de código.

Gracias por leer y feliz "fin del mundo"!!  ;D


Título: Re: [CSS] Esquinas bordeadas. ¿Como? No lo entiendo.
Publicado por: karmany en 20 Diciembre 2012, 21:29 pm
La mayoría de navegadores actuales ya reconoce border-radius:
Citar
"The border-radius property is supported in IE9+, Firefox 4+, Chrome, Safari 5+, and Opera."

Puedes dejarlo así:

Código:
<html>
<head>
<title>Nyan</title>
</head>
<STYLE type="text/css">
</STYLE>
<body>
<DIV style="position: fixed; left: 10px; top: 10px; border: 4px
soild blue; color: white; background-color: black; width: 400px; border-radius: 5px;">
¿Comoo?
</DIV>
</body>
</html>


Título: Re: [CSS] Esquinas bordeadas. ¿Como? No lo entiendo.
Publicado por: cassiani en 21 Diciembre 2012, 16:18 pm
Código:
http://www.css3maker.com/


Título: Re: [CSS] Esquinas bordeadas. ¿Como? No lo entiendo.
Publicado por: dato000 en 22 Diciembre 2012, 07:02 am
Código:
http://www.css3maker.com/

de oro esta página, excelente aporte amigo gracias!


Título: Re: [CSS] Esquinas bordeadas. ¿Como? No lo entiendo.
Publicado por: Ori-chan en 22 Diciembre 2012, 12:16 pm
Tissiemous. ¿Por que comentas? Mas bien... ¿Que comentas? Que yo sepa no esta permitido hacer publicidad.