background preloader

CSS

Facebook Twitter

ColorZilla Updated. Bloques de texto encima de una imagen. Ya enseñamos hace tiempo a crear un rotador de imágenes con CSS, pero, ¿Y si solo deseamos ubicar texto encima de una imagen? En esta entrada aprenderemos a insertar bloques de texto encima de una imagen. Estructura La imagen se ubica al fondo del todo, y, el bloque de texto está agrupado por un encabezado h2 (para indicar la posición) y una etiqueta <span> dentro de este (para elegir el color, letra, tamaño de letra…). Para la imagen usaremos la posición relativa (“relative”) y para el encabezado usaremos la posición absoluta (“absolute”).

Código HTML – 1º parte Código CSS – 1º parte Con esto lograremos ubicar el texto encima de la imagen, a la izquierda, pero no crearemos la caja transparente negra que queremos insertar detrás del texto. Vamos a agrupar la etiqueta <span> dentro del encabezado <h2>: Código HTML – 2º parte Ahora le daremos estilo a la etiqueta <span> Código CSS – 2º parte Ahora me preguntaréis. Un pequeño problema Código HTML – 3º parte Código CSS – 3º parte Estandarización. Texto flotante dentro de imagen con CSS3. 5 efectos CSS para animar tus imágenes | SummArg. Designshack.co.uk nos trae 5 efectos CSS para aplicar a tus imágenes que se activan cuando el usuario pasa el puntero del mouse sobre las mismas (hover).

Los códigos están listos para copiar y pegar. Imagen que se levanta | Demo Al pasar el puntero del mouse sobre la imagen ésta se desliza suavemente hacia arriba, luego retorna a su posición original. Código Imagen que crece | Demo | Código La imagen aumenta de tamaño y se expande, empujando a las otras imágenes hacia arriba y abajo. Texto que aparece suavemente | Demo | Código Al pasar el puntero del mouse sobre la imagen, un texto con efecto Fade In aparece en escena. Imagen que gira | Demo | Código La imagen rota 45° y luego retorna a su posición. Imagen que brilla | Demo | Código Al pasar el puntero sobre la imagen, se aplica un efecto de luminosidad en su margen y en algunos navegadores se puede observar un reflejo. 5 Cool CSS Hover Effects You Can Copy and Paste. Need a cool hover effect for something on your site? Look no further! We’ve created several custom examples that you can view live for inspiration.

If you like the effect, steal it! We’ve got the CSS ready and waiting for you to copy. Bring Your Boring Site to Life Hover effects can make your site feel much more dynamic and alive. The effects we’ll be using today all use code that is supported by modern browsers, meaning of course Mozilla and Webkit for the most part. Bump Up Live Demo: Click Here to Launch This works best when you have a series of horizontal items. This one is super easy to implement and there are in fact several ways to go about it.

The transition here is completely optional as the effect still works quite well without it. Bump Up CSS Stack & Grow Live Demo: Click Here to Launch For this one I wanted a sort of lava lamp effect so that as you move your mouse down the list, each image slowly expands and then goes back to its original size. Stack & Grow CSS Fade Text in Conclusion. Design Shack Hover Effect Examples. Back to Design Shack. Add grunge effect to text using simple CSS. When I first saw CSS text gradient effect I asked myself how this trick can be used to create some more effects. Actually, there are an infinite number of effects you can create – the limit is your imagination.

In this short tutorial you will see how to add grunge effect to your text using just CSS and one image. Step 1: Create a transparent PNG image You can use Gimp or Photoshop and some of the free brushes: Experiment with the brushes and color, but keep in mind that the color you use must match the color of your background. So, we are going to make a grunge effect on a black background. Step 2: Create simple CSS Now we are going to add grunge effect on H1 element. <h1>This is one very long title with grunge effect<span></span></h1> Now the CSS magic.

And viola! See it live Step 3: Experiment Try to find some interesting brushes or patterns which you can use to create a different effects. 25 trucos CSS - exprime su capacidad al máximo - Javier Marcos. Llega un punto en cualquier tecnología en el que piensas que todo lo que se puede hacer, ya está inventado. Cuando una tecnología no es relucientemente nueva, el interés y la atención pasan a la siguiente nueva gran novedad.

Cuando CSS apareció por primera vez, era revolucionario, y con el tiempo ha evolucionado para permitir a los diseñadores crear webs atractivas, flexibles y trabajadas al detalle. Pero últimamente se escuchan rumores de que el tiempo del CSS ha pasado. Quiero mostrar que hay todavía mucho movimiento en el mundo del CSS, bien sea con nuevas propiedades que no has explorado, o con aspectos de CSS que no has considerado previamente. 1.- Ajusta las imágenes a la paleta de colores de tu web. Imagina una web de conferencias, con su propia paleta de colores, y con muchos participantes, cada uno con su foto de perfil. 2.- Comparte el espacio equitativamente en la ultima fila de un grid. 3.- Crea animaciones de partículas con box-shadow. 4.- Anima poliedros con transform.

CSS Custom Properties for Cascading Variables Module Level 1. Abstract This module introduces cascading variables as a new primitive value type that is accepted by all CSS properties, and custom properties for defining them. CSS is a language for describing the rendering of structured documents (such as HTML and XML) on screen, on paper, in speech, etc. Status of this document This is a public copy of the editors’ draft. The (archived) public mailing list www-style@w3.org (see instructions) is preferred for discussion of this specification. This document was produced by the CSS Working Group (part of the Style Activity).

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. Table of Contents 1 Introduction This section is not normative. Large documents or applications (and even small ones) can contain quite a bit of CSS. 2 Defining Custom Properties: the '--*' family of properties custom property is any property whose name starts with two dashes (U+002D HYPHEN-MINUS), like --foo. 2.1 Custom Property Value Syntax var() CSS Custom Properties for Cascading Variables Module Level 1. Android - Cargar archivos HTML locales en WebView - Iteramos.com. CSS Border. Fade image from B&W to Color with SVG.