- 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); }
推薦閱讀
- Oracle從新手到高手
- 精通軟件性能測試與LoadRunner實戰(第2版)
- JavaScript前端開發與實例教程(微課視頻版)
- Java語言程序設計教程
- Java EE 7 with GlassFish 4 Application Server
- Java Web開發教程:基于Struts2+Hibernate+Spring
- WCF全面解析
- 虛擬現實:引領未來的人機交互革命
- Access 2016數據庫應用與開發:實戰從入門到精通(視頻教學版)
- 熱處理常見缺陷分析與解決方案
- Image Processing with ImageJ(Second Edition)
- C/C++程序設計教程:面向對象分冊
- Lucene 4 Cookbook
- Big Data Forensics:Learning Hadoop Investigations
- Getting Started with Beautiful Soup