3 ms·
Any user interface is simply a combination of smaller components. For example, using your basic HTML/CSS skills, you can create a button. Then, create an input
by enhdless 7y ago
Any user interface is simply a combination of smaller components.
For example, using your basic HTML/CSS skills, you can create a button. Then, create an input field. Then, put those together in a div and use a few lines of flexbox layout css to arrange the two pieces. Maybe you want something below it, which responds to what you input? Create another div below this input/button div, and then put this whole thing in another div to contain it all.
Try thinking of user interfaces in terms of rows and columns. More complex user interfaces are simply rows of columns of rows of columns! Start with small, basic pieces and put them together.
- mesaframe 7y agoI'm talking about best practices. I can always create a div hell but I believe there is an art in creating proper UI using HTML/CSS.