模态窗口 CSS
在此页面上,http://www.behance.net/signup,如果您点击“登录” ,他们的模态窗口出现。
我已经有了一个模态窗口,但找不到他们使用哪个 CSS 来设置边框和模态窗口内所有内容的样式。
那里有很多 CSS 和代码。如何从那里提取所有相关模态窗口的样式?
On this page, http://www.behance.net/signup, if you click "login", their modal window comes up.
I have already got a modal window in place, but cannot find which CSS they're using to style the border and everything within their modal window.
There's a lot of CSS and code there. How can I extract the styles for everything modal window related from there?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
default.css 和 fancybox.css
了解如何使用浏览器的开发人员工具。在带有 Firebug 或 Chrome 的 FF 中,默认情况下您可以右键单击某个元素并选择“检查”。这将向您展示 CSS 的历史记录以及哪些行对每种效果有贡献、规则层次结构等等。
以下是有关使用 Chrome 开发者工具的 YouTube 视频。
default.css and fancybox.css
Learn how to use your browser's developer tools. In FF with Firebug or Chrome by default you can right click an element and choose inspect. This will show you a history of the css as well as what lines are contributing to each effect, the rules hierarchy and more.
Here is a youtube video on using the Chrome developer tools.
它是 id 为
site-left-column
的类。它似乎位于fancybox.css的第94行。学习使用 firebug 之类的工具,从中您可以轻松了解自己。It the class with id
site-left-column
. It seems to be on line 94 of fancybox.css. Learn to use firebug like tools from which you can easily figure out yourself.