Foros del Web » Creando para Internet » CSS »

Como poner imagenes de fondo dentro del circulo

Estas en el tema de Como poner imagenes de fondo dentro del circulo en el foro de CSS en Foros del Web. necesito que en vez de colores en el circulo necesito imagenes por favor ayudeme con estoo gracias Código: <style> body { font-family: 'Merriweather Sans', sans-serif; ...
  #1 (permalink)  
Antiguo 12/03/2014, 21:35
Avatar de JoseAlberth  
Fecha de Ingreso: marzo-2014
Mensajes: 23
Antigüedad: 10 años, 1 mes
Puntos: 0
Pregunta Como poner imagenes de fondo dentro del circulo

necesito que en vez de colores en el circulo necesito imagenes por favor ayudeme con estoo gracias
Código:
<style>
body {
    font-family: 'Merriweather Sans', sans-serif;
}

/*Contenido interactivo*/
figure img {
    width: 50px;
    margin-left: -40px;
}
#content_item-2 {
    top: 40px;
    width: 312px;
    font-size: 12px;
	
}
#content_item-2 h1 {
    font-size: 16px;
    margin-left: 20px;
	
}
.tt-wrapper li a span{
    color: rgb(12, 169, 173);
    width: 200px;
    height: auto;
    line-height: 20px;
    padding: 10px;
    left: 100px;
    font-weight: 400;       
    font-size: 14px;    
    text-align: center;
    border: 4px solid #fff;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    position: absolute;
    top: 15px;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    -webkit-transform: translate(35px) rotate(25deg) scale(1.5);
    -moz-transform: translate(35px) rotate(25deg) scale(1.5);
    -o-transform: translate(35px) rotate(25deg) scale(1.5);
    -ms-transform: translate(35px) rotate(25deg) scale(1.5);
    transform: translate(35px) rotate(25deg) scale(1.5);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
	
}

.tt-wrapper li a:hover span{
    visibility: visible;
    opacity: 0.9;
    -webkit-transform: translate(0px) rotate(0deg) scale(1);
    -moz-transform: translate(0px) rotate(0deg) scale(1);
    -o-transform: translate(0px) rotate(0deg) scale(1);
    -ms-transform: translate(0px) rotate(0deg) scale(1);
    transform: translate(0px) rotate(0deg) scale(1);
	
}
.contenedor_n2241_1 #item-1 {
    height: 50px;
    left: 180px;
    top: 20px;
    width: 160px;
	
}
.contenedor_n2241_1 #item-2 {
    height: 227px;
    left: 61px;
    top: -4px;
    width: 51px;
	
    transform:rotate(40deg);
    -ms-transform:rotate(40deg); /* IE 9 */
    -webkit-transform:rotate(40deg); /* Safari and Chrome */
}
.contenedor_n2241_1 #item-3 {
    height: 223px;
    left: 330px;
    top: -59px;
    width: 50px;
    transform: rotate(-64deg);
    -ms-transform: rotate(-64deg);
    -webkit-transform: rotate(-64deg);

}
.contenedor_n2241_1 #item-4 {
    height: 184px;
    left: 451px;
    top: 190px;
    width: 28px;
}
.contenedor_n2241_1 #item-5 {
    height: 40px;
    left: 193px;
    top: 431px;
    width: 227px;
    transform: rotate(-16deg);
    -ms-transform: rotate(-16deg);
    -webkit-transform: rotate(-16deg);
	
}
.contenedor_n2241_1 #item-6 {
    height: 100px;
    left: 30px;
    top: 310px;
    width: 60px;
}

.contenedor_n2241_1 #circle {
    background-image: url("circulo_files/circle.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 500px;
    position: relative;
    width: 500px;
	
}
.contenedor_n2241_1 .inner-button {
    color: rgb(255, 255, 255);
    cursor: pointer;
    height: 40px;
    position: absolute;
    text-indent: -99999px;
    width: 120px;
	
    z-index: 999;
}
.contenedor_n2241_1 .inner-circle-content {
    color: #333;
    opacity: 0;
    height: 100px;
    left: 10px;
    padding: 0 30px;
    position: absolute;
    text-align: left;
    top: 120px;
    width: 342px;
    transition: all 1s;
    font-size: 14px;
	
	
	

		
}
.contenedor_n2241_1 .inner-circle-content h1 {
    font-size: 18px;
	
	
}
.contenedor_n2241_1 {
    width: 800px;
	
}

.contenedor_n2241_1 #inner-circle{
    border-radius: 200px 200px 200px 200px;
    height: 395px;
    left: 49px;
    margin: 0;
    position: absolute;
    top: 52px;
    width: 395px;
	
	
	
}

.content_item-2{
    border-radius: 200px 200px 200px 200px;
    height: 395px;
    left: 49px;
    margin: 0;
    position: absolute;
    top: 52px;
    width: 395px;
	overflow:auto;	
	
}


</style>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title></title>
	<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
	
	
	<script src="circulo_files/javascript.js"></script>
	<script src="circulo_files/prefixfree.min.js"></script>
	<script>
		$(document).on("ready", run);
		function run()
		{
			init_n2_2_4_1_1();
			$('a[@rel*=lightbox]').lightBox(); // Seleccionamos todos los elementos cuyo atributo rel contenga "lightbox"
   $('#content_item-2').lightBox(); // Seleccionamos todos los enlaces del elementos #gallery
   $('a.lightbox').lightBox(); // Seleccionamos todos los enlaces con clase lightbox
   $('a').lightBox(); // Seleccionamos todos los enlaces
   // ... Muuuuuchas posibilidades más...
		}
	</script>
</head>
<body>
	<div class="contenedor_n2241_1">
		
		<div id="circle">			
			<div class="inner-button" id="item-2"></div>
			<div class="inner-button" id="item-3"></div>
			<div class="inner-button" id="item-4"></div>
			<div class="inner-button" id="item-5"></div>
			<div class="inner-button" id="item-6"></div>
			
			<div id="inner-circle">
				<div class="inner-circle-content" id="content_item-2"> 
					
				</div>
				<div class="inner-circle-content" id="content_item-3">
					
				</div>
				<div class="inner-circle-content" id="content_item-4">
					
				</div>
				<div class="inner-circle-content" id="content_item-5">
					
				</div>
				<div class="inner-circle-content" id="content_item-6">
				
				</div>				
				
			</div>
		</div>
	</div>
</body>
</html>
  #2 (permalink)  
Antiguo 13/03/2014, 02:32
Avatar de pzin
Moderata 😈
 
Fecha de Ingreso: julio-2002
Ubicación: Islas Canarias
Mensajes: 10.488
Antigüedad: 21 años, 8 meses
Puntos: 2114
Respuesta: Como poner imagenes de fondo dentro del circulo

Pues pones una imagen o una imagen de fondo.

Etiquetas: background, circulo, color, contenido, hover, html, imagenes
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 19:25.