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

Challenges in styling a Rails application traditionally

The application which we have created was so basic that we did not write a single line of code for its logic part. We didn't even touch the HTML layout of the application. You have seen how complex the CSS styling can be at some places, such as designing a link. The CSS which we have written here is very poorly organized. We have a target element level selector at many places to apply styles to them. This is considered as a very poor way of designing.

Our CSS code was not segregated into various, smaller parts. All the styles were written directly in one file, styles.css. In the coming chapters, we will see how we can use SASS to apply styles to our Rails applications. Using SASS, we can bring logic to the CSS codes.

We will also overcome the difficulties of styling each and every element in our Rails application using Bootstrap. You will realize how easy it can become for a Non-CSS developer to design a high-end application using Bootstrap. You won't write a single piece of CSS code when using Bootstrap. Its developers have written a bunch of CSS codes for you.

主站蜘蛛池模板: 高密市| 宜君县| 泸溪县| 油尖旺区| 南郑县| 龙江县| 南平市| 濮阳市| 锦州市| 寿光市| 大田县| 昌邑市| 麻城市| 汨罗市| 榆社县| 隆德县| 玛曲县| 措勤县| 郁南县| 东辽县| 杂多县| 新化县| 河东区| 岐山县| 上林县| 林口县| 尼玛县| 确山县| 锡林郭勒盟| 五原县| 信丰县| 清镇市| 丰县| 仪陇县| 香港| 宁河县| 株洲县| 六枝特区| 元朗区| 中江县| 湾仔区|