官术网_书友最值得收藏!

Summary

After reading this chapter, you can distinguish between structural and skinning style classes. In short words, structural style classes define the skeleton of the components and the skinning ones are for theming. We have seen how to set up any PrimeNG theme and create a new one. A new theme can be created either by ThemeRoller or by setting custom values for Sass variables and CSS properties of an existing theme with subsequent compilation to a CSS file. We encourage to use a CSS preprocessor for a modular CSS architecture. Sass preprocessor helps in writing better styles. A guideline for organizing the Sass files was provided as well.

After reading this chapter, you are also able to use one of the responsive grid systems, either PrimeNG own or Bootstrap's one. PrimeNG offers a lightweight responsive and fluid layout system. Furthermore, PrimeNG components having built-in responsive mode when using the .ui-fluid style class on the top container element. The flexbox-based layout is a new standard and a benefit for every HTML5 web application. One of the main advantages of flexbox is the ability to fill an extra space--all columns have the same height. Bootstrap 4 adds support for the flexbox model and lets you develop stunning layouts.

Starting with the next chapter, we will dive deep into each component. Our journey into the exciting PrimeNG world begins with input and select components.

主站蜘蛛池模板: 油尖旺区| 五峰| 邯郸县| 鱼台县| 三台县| 永川市| 庐江县| 广平县| 麻栗坡县| 宁强县| 大邑县| 交口县| 都兰县| 保德县| 白银市| 弥勒县| 南郑县| 洞头县| 桦南县| 开江县| 江门市| 扎鲁特旗| 江城| 会昌县| 永康市| 定结县| 米林县| 罗山县| 蓬安县| 独山县| 麻栗坡县| 陵水| 眉山市| 县级市| 庆阳市| 黄龙县| 华宁县| 民乐县| 南宁市| 阳西县| 竹溪县|