//CSS & Html
Tối ưu tốc độ website với Asynchronous và Deferred Javascript
Hầu hết, nếu không nói là tất cả website ngày nay đều sử dụng quá nhiều Javascript. Các nút social media? Các Plugin? Thậm chí là theme? 90% trường hợp đều có chèn script. Bạn đang chạy script. Script làm chậm tốc độ tải trang. Sau đây là 2 plugin giúp giải quyết vấn đề…
Xem thêm- 112 lượt xem
- 0 Bình luận
How to Create CSS3 Speech Bubbles Without Images
Credit: https://www.sitepoint.com/pure-css3-speech-bubbles/ I remember my creating my first image-less speech bubble many years ago. It required a long-winded JavaScript function to inject elements into the DOM, some horrendous CSS, looked fairly awful, and didn’t work well in IE5. CSS3 is starting to change our lives for the better. It’s now possible to create a great..
Xem thêm- 61 lượt xem
- 0 Bình luận
CSS Font-Size: em vs. px vs. pt vs. percent
One of the most confusing aspects of CSS styling is the application of the font-size attribute for text scaling. In CSS, you’re given four different units by which you can measure the size of text as it’s displayed in the web browser. Which of these four units is best suited for the web? It’s a..
Xem thêm- 86 lượt xem
- 0 Bình luận
Absolute, Relative, Fixed Positioning: How Do They Differ?
Short answer: Yes, there is one more, “static”, which is the default. Yes, they majorly differ. Each of them is incredibily useful and which you should use of course depends on the desired result. Also, don’t forget about float, which is an important part of positioning. Medium answer: I’m not going to do a “long answer” because there..
Xem thêm- 71 lượt xem
- 0 Bình luận