- This topic is empty.
-
AuthorPosts
-
August 2, 2014 at 12:45 pm #177329FIRE47Participant
Good afternoon
I’m doing a header and is of type flex. I wanted two things happens. The first is to decrease the size of the first div, but I can not. The content is not centered. I wonder if there is some minimum height required, because there comes a point that will not shrink more. And the second div does not focus the content. I may be doing something wrong. if someone can take a look I appreciate.
thank you very much
[MOD EDIT – Code dump removed]
August 2, 2014 at 1:46 pm #177337nixnerdParticipantWow. Please make a Codepen of this.
August 2, 2014 at 4:46 pm #177354FIRE47ParticipantAugust 2, 2014 at 5:41 pm #177358nixnerdParticipantDude, how are you even doing that? I’ve never seen a codepen formatted like that. Then again, I’ve never tried. Create a pen, input your HTML, then add your CSS. Then post the link so we can tinker. Look at other threads on the forum to see what i mean.
August 2, 2014 at 5:48 pm #177359FIRE47ParticipantHere is the link. I did not know it was possible to record with no account, I get it. sorry
August 2, 2014 at 6:28 pm #177361FIRE47ParticipantWhat I want is that the height was lower, but can not reduce the size
August 2, 2014 at 7:11 pm #177368__ParticipantThe content is not centered.
Right, because you specified
justify-content: left
.
To center the content, usecenter
.[I want] to decrease the size of the first div …I want is that the height was lower, but can not reduce the size
Simply changing the
height
value (or removing it) is not what you want?August 2, 2014 at 7:25 pm #177369FIRE47ParticipantThanks for your help. I want to decrease the height of the div hoop, that is with the blue border. But if you do not follow the logo div and always stays the same size
August 2, 2014 at 8:03 pm #177372__Participant“div hoop”?
If you remove the
padding:15px
from.Logo2
, andalign-items:center
from.aro
, the blue-bordered div (.aro
) gets quite a bit shorter. Is that what you were trying to do?August 2, 2014 at 8:23 pm #177375FIRE47ParticipantI want to shrink the div .aro with two divs inside ( .logo and .logo2)
See the image:
http://imagizer.imageshack.us/v2/1024x640q90/901/wiOSla.jpg
Thank you
August 3, 2014 at 12:46 pm #177434FIRE47Participantwolfcry911 was really what I need, and the users thank you for the help you have been giving me.
I have another question, which is basically an opinion. I’m building a website and already have what you can see below. I wanted to know which layout is better. Also opinions are always welcome.or
-
AuthorPosts
- The forum ‘CSS’ is closed to new topics and replies.