- Full-Stack Vue.js 2 and Laravel 5
- Anthony Gore
- 68字
- 2021-07-02 19:57:22
Dimming the main window
We could simply hide our main window when the modal is open, but it's better if the user can still be aware of where they are in flow of the app. To achieve this, we will dim the main window under a semi-transparent panel.
We can do this by giving our modal panel an opaque black background.
style.css:
#modal { ... background-color: rgba(0,0,0,0.85); }
推薦閱讀
- HTML5+CSS3王者歸來
- 跟小海龜學Python
- Getting Started with CreateJS
- Instant Typeahead.js
- 3D少兒游戲編程(原書第2版)
- Learning ELK Stack
- Getting Started with Hazelcast(Second Edition)
- ASP.NET程序開發范例寶典
- 響應式Web設計:HTML5和CSS3實戰(第2版)
- 零基礎學HTML+CSS第2版
- Arduino電子設計實戰指南:零基礎篇
- H5+移動營銷設計寶典
- Android智能手機APP界面設計實戰教程
- 零基礎C語言學習筆記
- Enterprise Application Architecture with .NET Core