In this tutorial we are going to show you the TOP 10 Foods that help you Grow Taller Peas, it is advisable that you add peas to your daily diet to enjoy all the nutritional benefits and also helpboosting your height Brussels Sprouts stimulate growth hormonesyour body which will also helpincreasing your body height Broccoli has the ability to stimulate the idle growth hormonesyour body and thereby helpincreasing the height Oatmeal is another amazing source of protein and does magic to your height when consumed daily Spinach will helpimproving the growth of your body vertically by working on the idle growth hormones inside your body Peanuts help you grow taller because the nutrients inside them help stimulate the growth hormonesyour body Rhubarb is widely useddesserts for its beautiful flavor and color and it is proven to stimulate the secretion of growth hormone
Eggs, will improve your growth overall! Eat three eggs daily Greek Yogurt is a good source of calcium and vitamin D. Did you know that poor level of vitamin Dyour body can affect your heighté Turnips boost your growth hormones and thereby aidingheight gain. It is one of the most effective foods to grow taller!.
Margin and padding understand it and when to use it
Hi and welcome to one of the most importanttutorials from me and this tutorial will be very important for you to understand becausemargin and padding are the core of the HTML and CSS because you build layouts with them. Okay to understand it, the best is to tryto use it, of course. Okay, first of all, we will try to understandthe padding, so to understand the padding just add one div okay and inside that div,just add one paragraph and some text. some text we will just copy paste few timesso we have the meat of our website. As you can see, nothing happens especially,so, let's go to our main.css and let's style
a bit our div. Okay, our div will be, I prepared some backgroundcolor and something like this, so you don't need to write all things down. It's just so we can see more clearly okay. To understand the padding let's just add paddingso let's see what's what is going to do. Padding let's say 50 pixels. Ta da 🙂 what just we do what we just doé We add these white space around our text,as you can see we add to our div we add to
our div and the white space so the paddingsqueeze, squeeze the text inside are div. You can see of course if we say it's 20 pixelsthe white space around our text will be smaller so let's just keep it back to 50 pixels let'slet's move on. Watch carefully, because if you have yourdiv with some height and weight it will be it will be some errors, so let's say the widthwill be 500 pixels. Nothing happens, still, it looks pretty solid,pretty straightforward. Okay but if we add height to our div for examplealso 500 pixels, as you can see we make this thing a bigger, and that this is not the rightway because what if our height is 100 pixelsé
We can see, we broke the layout, we brokethese things okayé So, if you want to be clean, just never addthe height to your to your outer div, because it will break it okayé it's pretty easy tounderstand. Okay, let's add to our body some padding,whyé Because let's check it out: padding lets sayagain 50 pixels. As you can see, we move our website so ourbody is also a div, with the name of body, and we add the padding of 50pixels. If we add a 30 pixels, you can see, it's lookingpretty, pretty awesome.
Okay, this is a padding, it's a pretty simple,pretty simple concept if you add padding top, it will add just the top. If you add padding right it will add just50 pixels on the padding right okayé let's remove this width, and let's say thepadding will be 50 pixels all around. Let's head back to our index HTML and let'sjust copy our div, just copy it and paste it down herethe margin section. Okay, because we will now learn the margin. Margin is a bit tricky but it's also simpleone, once you understand the margin everything
else will be pretty simple pretty easy. As you can see our margin is it not our whitespace around here it's a space outside our container. You can't see the margin so let's just addmargin of also 50 pixels. Sorry, as you can see we squeeze, squeezeour container inside let's say it's a 70 pixels let's say it's a 90 pixels. You got it! 🙂 let's head back to the 50 pixels.
How to center div using inline block
Hi, guys and welcome to another tutorial howto center a div on a website. For this purpose, we will center again anotherdivanother div, one divanother div, but this time, we will use inlineblock insteadof margin 0 auto, so follow me. All the files, you can download this filein the description, so you don't have to write, but I encourage you to write codeto be faster and more precise. Ok, let's make the outer div. Outer div, ok, and inside this outer div,we will make inner div. Andthe styles.css we will style this outerdiv a bit ok.
Let's make inner div. Let's apply some styling, I prepared somestyling for you guys about this background colors, and about this background colors,so we can see, ok, we don't see anything now, but we will see shortly. Outer div it will be a height of 400px ok,we can see our outer div, oké Let's make our inner div. Height 200px ok, we can see our inner div,let's change color for a bit. And let's make a width of the inner divto be also 200px.
Ok, we have our divs prepared, as you cansee, so let's center this inner bad boythe outer bad boy. Ok, inner div we just said it will be inlineblock. So we say display inlineblock. Ta da, and nothing happens, whyé Why does nothing happené Can you imagine the problemé OK, because this is the inlineblock element,we treat our inlineblock as an inline element
not block element, forget about this block,it is just like inline and block element simultaneously, so we must do add something here. It will be textalign: center; Ta da, we justcenter our inner div by adding to our outer div textalign center. What does this meané This means that outer div, if we add a textaligncenter, it will align all the divs inside this outer div. For example, if we add few more divs as youcan see: I add three more divs.
Let's make this bit smaller, about 100px,ok. You can see that all the divs are sorted inthe center of the website. Pretty cool, righté Ok, and it's very simple. If we use margin 0 auto, like this, we removethis, add margin 0 auto, our divs will be stacked. Will be stacked one on another. As you can see, one two, three, four, theyall stacks, but if we add, just undo the,
if we add, textalign: center; and displayinlineblock. Our divs will be centeredthe middle ofthe page, horizontally. And that's it guys, I will just a littlebit beautify this code, oké, look how I beautifully write my code, and I can also beautify HTML,of course as you can see. What is thisé I don't know guys what did just happen,oh my god, this making, I don't know what just happened, I'm sorry must be my codeeditor. Ok , It was awkward I just refresh the view,ok, it was something with the brackets code