{"id":976,"date":"2020-05-22T13:17:29","date_gmt":"2020-05-22T10:17:29","guid":{"rendered":"http:\/\/www.aydiner.gen.tr\/?p=976"},"modified":"2022-01-30T22:55:46","modified_gmt":"2022-01-30T19:55:46","slug":"bootstrap-4-margin-ve-padding","status":"publish","type":"post","link":"https:\/\/www.aydiner.gen.tr\/index.php\/2020\/05\/22\/bootstrap-4-margin-ve-padding\/","title":{"rendered":"BOOTSTRAP 4 MARG\u0130N VE PADD\u0130NG"},"content":{"rendered":"<p><a href=\"https:\/\/www.aydiner.gen.tr\/wp-content\/uploads\/2019\/11\/bootstrap-stack.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-thumbnail wp-image-849\" src=\"https:\/\/www.aydiner.gen.tr\/wp-content\/uploads\/2019\/11\/bootstrap-stack-150x150.png\" alt=\"\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.aydiner.gen.tr\/wp-content\/uploads\/2019\/11\/bootstrap-stack-150x150.png 150w, https:\/\/www.aydiner.gen.tr\/wp-content\/uploads\/2019\/11\/bootstrap-stack-300x300.png 300w, https:\/\/www.aydiner.gen.tr\/wp-content\/uploads\/2019\/11\/bootstrap-stack-100x100.png 100w, https:\/\/www.aydiner.gen.tr\/wp-content\/uploads\/2019\/11\/bootstrap-stack-266x266.png 266w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a>HTML ve CSS d\u00fczeninde bir eleman\u0131n kenarl\u0131\u011f\u0131 ile d\u0131\u015f\u0131ndaki nesneler aras\u0131ndaki mesafeye\u00a0<strong>margin(d\u0131\u015f bo\u015fluk) ad\u0131 verilir.<\/strong><br \/>\nAyn\u0131 \u015fekilde bir nesnenin kenarl\u0131\u011f\u0131 ile i\u00e7inde bulunan i\u00e7erik aras\u0131ndaki bo\u015flu\u011fa ise\u00a0<strong>padding(i\u00e7 bo\u015fluk)<\/strong>\u00a0denir.<\/p>\n<p>Bootstrap 4&#8217;te margin ve padding i\u00e7in de haz\u0131r baz\u0131 \u00f6zellikler bulunmaktad\u0131r.<\/p>\n<p>Margin =&gt;\u00a0<strong>m<\/strong><br \/>\npadding =&gt;\u00a0<strong>p<\/strong><\/p>\n<p>top (\u00fcst) = &gt;\u00a0<strong>t<\/strong><br \/>\nbottom (alt) = &gt;\u00a0<strong>b<\/strong><br \/>\nright (sa\u011f) = &gt;\u00a0<strong>r<\/strong><br \/>\nleft (sol) = &gt;\u00a0<strong>l<\/strong><br \/>\nx boyutu (sa\u011f &#8211; sol) = &gt;\u00a0<strong>x<\/strong><br \/>\ny boyutu (\u00fcst &#8211; alt) = &gt;\u00a0<strong>y<\/strong><br \/>\n<!--more-->Her tarafa ayn\u0131 b\u00fcy\u00fckl\u00fck verilecek ise bo\u015f b\u0131rak\u0131l\u0131r.<\/p>\n<p><strong>0 ile 5 aras\u0131nda<\/strong>\u00a0b\u00fcy\u00fckl\u00fck verilebilir, ayr\u0131ca\u00a0<strong>auto<\/strong>\u00a0da otomatik \u00f6zellik vermek i\u00e7in kullan\u0131l\u0131r<\/p>\n<p>\u00d6rne\u011fin;<\/p>\n<p>&lt;div class=&#8221;mt-3&#8243;&gt;Bu div&#8217;e \u00fcstten 3 birim margin verilmi\u015ftir.&lt;\/div&gt;<\/p>\n<p>&lt;div class=&#8221;p-2&#8243;&gt;Bu div&#8217;e her y\u00f6nden 2 birim padding verilmi\u015ftir.&lt;\/div&gt;<\/p>\n<p>&lt;div class=&#8221;my-2 px-1&#8243;&gt;Bu div&#8217;e \u00fcstten ve alttan 2 birim margin ve soldan sa\u011fdan 1 birim padding verilmi\u015ftir.&lt;\/div&gt;<\/p>\n<p><strong>Not:\u00a0<\/strong>E\u011fer p ya da m nin yan\u0131na herhangi bir harfa gelmezse her 4 tarafa da ayn\u0131 b\u00fcy\u00fckl\u00fck verilecek demektir.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTML ve CSS d\u00fczeninde bir eleman\u0131n kenarl\u0131\u011f\u0131 ile d\u0131\u015f\u0131ndaki nesneler aras\u0131ndaki mesafeye\u00a0margin(d\u0131\u015f bo\u015fluk) ad\u0131 verilir. Ayn\u0131 \u015fekilde bir nesnenin kenarl\u0131\u011f\u0131 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":849,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[108],"class_list":["post-976","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web","tag-bootstrap-margin-ve-padding"],"_links":{"self":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts\/976","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/comments?post=976"}],"version-history":[{"count":0,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/posts\/976\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/media\/849"}],"wp:attachment":[{"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/media?parent=976"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/categories?post=976"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.aydiner.gen.tr\/index.php\/wp-json\/wp\/v2\/tags?post=976"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}