Reja: Bootstrap fayllari


Download 237.1 Kb.
Sana23.04.2023
Hajmi237.1 Kb.
#1384060
Bog'liq
Bootstrapp


Bootstrap
Reja:

  1. Bootstrap fayllari.

  2. Bootstrap kutubxonalari.

  3. Bootstrap moslashuvchi sinflari.

Bootstrap - javob beruvchi veb-ilovalarni yaratish uchun CSS ramkasi. Bootstrap loyihasi dastlab Twitter ishlab chiquvchilari tomonidan o'z foydalanishlari uchun yaratilgan va ishlab chiqilgan, biroq keyin Twitterdan tashqariga chiqdi va hozirda ochiq kodli loyiha sifatida ishlab chiqilmoqda va veb-ilovalarni yaratish uchun eng mashhur ramkalardan biri hisoblanadi. Bu qoida tariqasida, ajablanarli emas hozirgi vaqtda mobil Internetdan foydalanuvchilar soni ortib bormoqda, tobora ko'proq odamlar internetda kezish uchun smartfon va planshetlardan foydalanmoqda. Natijada, bu moslashuvchan dizaynga ega saytlar sonining ko'payishiga va shunga mos ravishda bunday saytlarni, jumladan Bootstrap ramkasini ishlab chiqish vositalarining mashhurligini oshirishga olib keldi.
ASP.NET MVC 5 loyihalarida sukut bo'yicha barcha kerakli Bootstrap fayllari mavjud:

Bootstrap funksiyasi bootstrap.css uslubi fayli va bootstrap.js skriptiga o'ralgan. Va agar biz loyihada sukut bo'yicha keladigan _Layout.cshtml bosh sahifasini ochsak, biz tegishli kutubxonalar ulanishini ko'ramiz:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42






@ViewBag.Title - My ASP.NET <a href="/complete-application-file-with--65-application-fee-have-to-be.html">Application</a>
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")






@Html.ActionLink("Application name", "Index",
"Home", null, new { @class = "navbar-brand" })



  • @Html.ActionLink("Home", "Index", "Home")

  • @Html.ActionLink("About", "About", "Home")

  • @Html.ActionLink("Contact", "Contact", "Home")






@RenderBody()


© @DateTime.Now.Year - My ASP.NET Application





@Scripts.Render("~/bundles/jquery")
@Scripts.Render("~/bundles/bootstrap")
@RenderSection("scripts", required: false)

Download 237.1 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling