- Bootstrap 4 Cookbook
- Ajdin Imsirovic
- 129字
- 2021-07-02 21:08:09
How it works...
In this recipe, we are using the regular blockquote HTML element and Bootstrap's classes for styling it. To make it look different, we primarily use the following tweaks:
- Setting the blockquote.blockquote position to relative
- Setting the :before and :after pseudo-classes, position to absolute
- In blockquote.blockquote, setting the padding and margin. Also, assigning the values for opening and closing quotes, using CSS (ISO) encoding for the two HTML entities
- Using Georgia font to style the content property in pseudo-classes
- Setting the font-size of pseudo-classes to a very high value and giving the font a very high opacity, so as to make it become more background-like
- With absolute positioning in place, it is easy to place the quotes in the exact location, using negative rem values
推薦閱讀
- 大學計算機基礎(第三版)
- Java程序設計與計算思維
- Java程序設計與實踐教程(第2版)
- PostgreSQL 11從入門到精通(視頻教學版)
- Python時間序列預測
- 零基礎輕松學SQL Server 2016
- Android開發:從0到1 (清華開發者書庫)
- Unity 2D Game Development Cookbook
- Java面向對象程序設計
- 編寫高質量代碼:改善Objective-C程序的61個建議
- 創意UI:Photoshop玩轉APP設計
- HTML5+CSS3+jQuery Mobile APP與移動網站設計從入門到精通
- Java并發編程:核心方法與框架
- 多媒體技術及應用
- WordPress Search Engine Optimization(Second Edition)