Fungsi dari Class text-nowrap dalam bootstrap 4

Biasanya bagi pemberian nama di pada sebuah class itu  kita dapat mengisinya dengan apa yang kita mau, kita mau memberikan nama sendiri dapat, memberikan dengan nama hewan pun dapat, pokoknya seterah kita ingin memberikan dengan nama apa. Tetapi dengan bootstrap jikalau kita ingin menggunakan efeknya kita mesti mengikuti aturan dari si bootstrap tersebut, sama halnya bagi judul artikel sekarang ini yaitu guna dari class text-nowrap pada bootstrap 4, karenanya dari itu jangan kemana-mana ya simak terus.





guna dari class text-nowrap pada bootstrap 4, dari namanya saya sedikit asing, saya taunya teksnya di bungkus aja, tapi tak tau di bungkus seperti apa. setelah saya coba, ternyata ketika kita menggunakan class text-nowrap, jikalau kita menggunakan pembungkus dengan col-md-1 misal. Pasti teman-teman tau dengan jumlah kolom ketika di style dengan 1, akan memberikan efek kolom yang kecil dari 1/12, pasti isi konten tersebut tak akan lumayan muat banyak dan pasti akan ke bawah sndri, dengan text-nowrap walaupun di style dengan kolom 1 isi konten tetap akan melebihi batas isi kolom tersebut. Jikalau tak percaya mari kita coba.



<!doctype html>
<html lang=en>
<head>
<title>guna dari class text-nowrap pada bootstrap 4</title>
<!-- Required meta tags -->
<meta charset=utf-8>
<meta name=viewport content=width=device-width, initial-scale=1, shrink-to-fit=no>
<-e-style type=text/css>
.bg-warning{
margin-bottom: 50px;
}
<-e-/style>
<!-- Bootstrap CSS -->
<link rel=stylesheet href=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css integrity=sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb crossorigin=anonymous>
</head>
<body>
<div class=container>
<div class=row>
<div class=col-md-12 bg-warning><h1>guna dari class text-nowrap pada bootstrap 4</h1></div>
<div class=col-1 text-nowrap>
Curabitur blandit tempus ardua ridiculus sed magna.
</div>
<div class=col-11>
<img src=Penguins.jpg width=200 alt=Biasanya bagi pemberian nama di pada sebuah class itu  kita dapat mengisinya dengan apa y Guna dari Class text-nowrap pada bootstrap 4>
</div>
</div>

<div class=col-md-12><p class=font-weight-bold>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing aplikasi like Aldus PageMaker including versions of Lorem Ipsum.</p></div>
<div class=col-md-12><p class=font-weight-normal>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p></div>
<div class=col-md-12><p class=font-weight-light>Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of de Finibus Bonorum et Malorum (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics,</p></div>
<div class=col-md-12><p class=font-italic>The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from de Finibus Bonorum et Malorum by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.</p></div>
</div>

<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<-e-script src=https://code.jquery.com/jquery-3.2.1.slim.min.js integrity=sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN crossorigin=anonymous></script>
<-e-script src=https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js integrity=sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh crossorigin=anonymous></script>
<-e-script src=https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js integrity=sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ crossorigin=anonymous></script>
</body>
</html>


sekarang ini kita lihat hasilnya:





Dapat di lihat ketika saya inspect element teks tersebut melebihi batas col-md-1 bagaimana lumayan menambah pengetahuan ya teman-teman, dan saya rasa lumayan hingga disini dulu belajar kita mengenai guna dari class text-nowrap pada bootstrap 4, semoga bermanfaat dan hingga jumpa.




Sumber https://kursuswebsite.org

Popular posts from this blog

Perbedaan Antara Keyup dan Keydown Pada jQuery

Membuat Table Warna Berselang dengan PHP