Para que una imagen resalte en el cuerpo de una caja, puedes añadirle una sombra desde el editor HTML. Puedes ver un ejemplo en http://biblioguias.ulpgc.es/biblioguias.
Para ello sigue los siguientes pasos:
Tambien puedes usar un generador de códigos en línea como Mozilla Generator y copiar y pegar el código en la caja.
Instrucciones en inglés:
Not unlike ghosts, images can sometimes 'blend' into the white space behind it. Making them almost invisible to the eye. It would be so much easier to spot those ghosts if they had a shadow. The same goes for your images!
Using CSS box-shadows, give your images dimension, making them visually 'pop' out of the webpage they're embedded on. Plus, if you add the box-shadow property you won't have to redesign the image over and over again in Photoshop. Simply change the box-shadow properties right inside your LibGuide.
And, if you're not a CSS/HTML-expert, no worries. If you can copy and paste and understand the basic principles of how box-shadows work, you're good to go!
If you've ever seen a box-shadow CSS statement, it can be hard to understand which rule effects what.
Here's a quick breakdown of structure:
(Note: There are more attributes you can add, this is just the basic structure)
There are two ways to create box-shadow code:
box-shadow: 10px 10px 55px #888888;
<img style="box-shadow: 10px 10px 5px #888888;" src="URL-of-Image" alt="Alternative-Image-Text" />
0 Comentarios.