C:blanc
Published
January 10 2023
Blog CSS

What do you think of Bootstrap?

  • このエントリーをはてなブックマークに追加
Happy New Year!
I would like to write a serious Blog this year.

Are you using Bootstrap?

In my case, so far, I have not used it entirely, but in parts.
Before ver.4, I didn't like it much from a design point of view.
With ver.5, there is no longer a dependency on jQuery.
I also try not to use jQuery as much as possible, so I think this upgrade was a good thing.
However, I could not use the same html file after upgrading. (Incompatible)

control panel

First, the admin screen, we don't want to spend too many man-hours on the design.
Therefore, we are partially using Bootstrap.
Next, I would like to introduce the parts we are using.

Sign In (Login) Screen

This is the login screen. Floating labels are used.
When you focus on the label, the label moves.
It would be troublesome to write labels from scratch.

https://getbootstrap.jp/docs/5.0/examples/sign-in/

navigation bar

It is the navigation bar that would benefit the most.
The code for the drop-down menu is not that difficult, but Bootstrap is sufficient for the admin panel, since you don't need to be that particular about the design.

https://getbootstrap.jp/docs/5.0/components/navbar/

tab (character)

Also, plain tabs are useful.
The same Bootstrap is a good choice for use with the accordion below, for example.

https://getbootstrap.jp/docs/5.0/components/navs-tabs/

accordion

I also made my own accordion, but for some reason, the Bootstrap accordion moves more smoothly.
(Well, maybe my tuning is just wrong...)

I often use it for FAQs.
(Between you and me, I think it would be easier to read the FAQ if it was open from the beginning, not folded in an accordion...)

https://getbootstrap.jp/docs/5.0/components/accordion/

I guess that's it for partial use.
I still think it's better to make your own form-related stuff.
I still feel that the textboxes and buttons are not quite up to par.
I think radio buttons, checkboxes and toggle buttons are getting better...

Conclusion.

I'm not sure I'm going to fully adopt it just yet - I'm not sure I'm ready for it.
I looked at a lot of other CSS frameworks, but none of them seemed to fit the bill.
In the end, I've decided to stick with Bootstrap.

I'm not sure if I can use it for anything other than the admin panel, such as the homepage.
I can use it for other things than the admin screen, like an accordion...
(It's easy to make your own if you use jQuery.)
(I would like to make an accordion in Vanilla in my spare time.)

PROFILE

C:blanc
I am a freelance programmer.
  • COMMENT

    Submitted. Comments will appear after approval.
  • あと150more characters