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

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.

主站蜘蛛池模板: 天门市| 易门县| 旬阳县| 浑源县| 疏附县| 无为县| 玛多县| 宁德市| 吴堡县| 伊春市| 恩平市| 富民县| 聂拉木县| 龙海市| 饶阳县| 阜宁县| 锡林郭勒盟| 师宗县| 镇坪县| 聂拉木县| 清水河县| 普定县| 贵阳市| 舞钢市| 建瓯市| 平乡县| 金昌市| 杨浦区| 盘山县| 论坛| 合江县| 莱西市| 莱西市| 霍林郭勒市| 永吉县| 衡水市| 钟山县| 肃宁县| 娄底市| 正镶白旗| 澄城县|