- Learning Less.js
- Alex Libby
- 204字
- 2021-09-03 09:38:10
Chapter 4. Working with Variables, Mixins, and Functions
So far in this book, we've built up the basics of what will become our development toolkit for working with Less and taken a whistle-stop tour through some of the syntax and concepts that are associated with Less as a CSS preprocessor. I am sure some well-known actor once said in a film somewhere, "It's time...."
Yes, it's time to get stuck with using Less! However, hold on; this chapter says it's about working with variables, functions, and the like; surely, this means we're developing in programming code, right?
Wrong. Don't worry, my friends; granted, we will look at functions, but they are nothing like the functions you might see when developing using languages such as C# or Visual Basic. Indeed, the only similarity is the name—as we will see, functions within the world of Less are more akin to using a scientific calculator than complicated code.
This is just a small part of what we will cover. Throughout this chapter, we will look at some of the building blocks of Less, including:
- Creating and scoping variables
- Developing simple and parametric mixins
- Using Less functions
- Using prebuilt libraries
Intrigued? Let's get started...
- Arduino入門基礎教程
- 深入理解Spring Cloud與實戰
- Linux KVM虛擬化架構實戰指南
- 電腦維護與故障排除傻瓜書(Windows 10適用)
- Python GUI Programming:A Complete Reference Guide
- Deep Learning with PyTorch
- 硬件產品經理成長手記(全彩)
- Camtasia Studio 8:Advanced Editing and Publishing Techniques
- 龍芯自主可信計算及應用
- BeagleBone Robotic Projects
- Hands-On Artificial Intelligence for Banking
- 單片機原理與技能訓練
- 觸摸屏應用技術從入門到精通
- Zabbix 4 Network Monitoring
- 計算機應用基礎案例教程(Windows 7+Office 2010)