Jump to content

Recommended Posts

Posted (edited)

nu pot centra meniul si scrisul este gen CAPSLOCK doar de cand am pus meniul

oEm5kXo.png

 

cod css:

 

 

/* meniu css */
.block-menu {
	display: block;
	background: #000;
}

.block-menu li {
	display: inline-block;
}

.block-menu li a {
	color: #fff;
	display: block;
	text-decoration: none;
	font-family: 'Passion One', Arial, sans-serif;
	font-smoothing: antialiased;
	text-transform: uppercase;
	overflow: visible;
	line-height: 20px;
	font-size: 24px;
	padding: 15px 10px;
}

/* animatie */
.three-d {
	perspective: 200px;
	transition: all .07s linear;
	position: relative;
	cursor: pointer;
}
	/* complete the animation! */
	.three-d:hover .three-d-box, 
	.three-d:focus .three-d-box {
		transform: translateZ(-25px) rotateX(90deg);
	}

.three-d-box {
	transition: all .3s ease-out;
	transform: translatez(-25px);
	transform-style: preserve-3d;
	pointer-events: none;
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
}

*/
.front {
	transform: rotatex(0deg) translatez(25px);
}

.back {
	transform: rotatex(-90deg) translatez(25px);
	color: #ffe7c4;
}

.front, .back {
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background: black;
	padding: 15px 10px;
	color: white;
	pointer-events: none;
	box-sizing: border-box;
}

 

Edited by Gabytzu Gaby
  • Downvote 1

Posted (edited)

Care meniu dorești să-l centrezi? + schimbă cu alt stil de font.. 

Pentru centrare încearcă un:

 text-align: center; 


nu știu exact la care meniu dorești centrarea.. 

Edited by Amon
Posted

Vrei să centrezi logo-ul sau ce? 

 

* Pentru index-ul ăla, ați fi putut să lăsați creditele autorului (ShadyART), dar așa sunteți nesimtiți. La fel și pentru temă.

Posted (edited)
On 16.03.2016 at 7:04 PM, d@niel said:

Lasa link de la forum cu tema visibila.

Am lasat !   forum: http://bnzone.ro/forum sper sa nu se puna ca reclama

 

19 hours ago, DeNyS. said:

Dacă vrei să pui pe centru text-ul : text-align: center;

Ca să pui meniul pe mijloc, incearcă : margin: 0 auto;

nu merge am incercat ...

Edited by Gabytzu Gaby
Posted (edited)

Merge, cum să nu meargă. Mă rog, folosește „ margin-top: 100px; ” 

* In loc de 100px, pui ce vrei tu. Am pus 100, doar să-ți dau un exemplu.

 

// -- //

Dacă vrei să-l pui direct jos, fără margin-top, poți să faci un DIV cu mărimea dorită și il bagi direct in DIV-ul respectiv.

Edited by DeNyS.
DIV

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.