什么作为CSS中的选择器?与流星进行帐户录入

时间:2021-03-09 19:39:28

I'm using the accounts-entry package with my meteor project and want to customize the {{> entrySignUp}} and {{> entrySignIn}}. What do I put as a selector in CSS to do this? I tried putting them in a <div> but it didn't make a difference? Does anyone know how to do this?

我正在使用我的meteor项目的accounts-entry包,并希望自定义{{> entrySignUp}}和{{> entrySignIn}}。我在CSS中作为选择器放置了什么?我尝试将它们放在

中,但它没有什么区别?有谁知道如何做到这一点?

1 个解决方案

#1


1  

You can look at packages/accounts-entry/client/views/signUp in your project to see the templates used. Or just use the browser developer tools to inspect the dom. Either way, you should be able to find the ids and classes you need to override in your styles.

您可以在项目中查看packages / accounts-entry / client / views / signUp以查看使用的模板。或者只是使用浏览器开发人员工具来检查dom。无论哪种方式,您都应该能够在样式中找到需要覆盖的ID和类。

The views have been designed to work well with bootstrap 3, but theres nothing stopping you from customizing it.

这些视图设计为与bootstrap 3一起使用,但没有什么能阻止您自定义它。

#1


1  

You can look at packages/accounts-entry/client/views/signUp in your project to see the templates used. Or just use the browser developer tools to inspect the dom. Either way, you should be able to find the ids and classes you need to override in your styles.

您可以在项目中查看packages / accounts-entry / client / views / signUp以查看使用的模板。或者只是使用浏览器开发人员工具来检查dom。无论哪种方式,您都应该能够在样式中找到需要覆盖的ID和类。

The views have been designed to work well with bootstrap 3, but theres nothing stopping you from customizing it.

这些视图设计为与bootstrap 3一起使用,但没有什么能阻止您自定义它。