Doubble强调效果CSS(Double underline effect CSS)
我有来自Hover.css包的代码:
.hvr-underline-from-left{ display: inline-block; vertical-align: middle; -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; position: relative; overflow: hidden; } .hvr-underline-from-left::before { content: ""; position: absolute; z-index: -1; left: 0; right: 100%; bottom: 0; background: #0F9E5E; height: 0.3em; -webkit-transition-property: right; transition-property: right; -webkit-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } .hvr-underline-from-left:hover::before, .hvr-underline-from-left:focus::before, .hvr-underline-from-left:active::before { right: 0; }
它的作用是它为悬停时从左侧显示的按钮添加了一个按钮边框。
但我想要的效果是这个,但多次。 所以这应该多次添加,每次延迟0.1秒,另一种颜色。 我该怎么办? 我尝试使用
::before(n)
但它没有用。I have this code from the Hover.css pack:
.hvr-underline-from-left{ display: inline-block; vertical-align: middle; -webkit-transform: translateZ(0); transform: translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; -moz-osx-font-smoothing: grayscale; position: relative; overflow: hidden; } .hvr-underline-from-left::before { content: ""; position: absolute; z-index: -1; left: 0; right: 100%; bottom: 0; background: #0F9E5E; height: 0.3em; -webkit-transition-property: right; transition-property: right; -webkit-transition-duration: 0.2s; transition-duration: 0.2s; -webkit-transition-timing-function: ease-out; transition-timing-function: ease-out; } .hvr-underline-from-left:hover::before, .hvr-underline-from-left:focus::before, .hvr-underline-from-left:active::before { right: 0; }
What this does is that it adds a buttom border to a button that appeares from the left on hover.
But the effect i want is this, but multible times. So this should be added multible times with 0.1s delay every time, and an other color. How would i do this? I tried using
::before(n)
but it didn't work.
原文:https://stackoverflow.com/questions/40387296
最满意答案
这是我从AWS得到的答案:
嗨,
您应该能够使用相同的
AmazonSimpleEmailServiceClient()
对象来使用多个线程进行发送。问候,罗汉
This is the answer I got from AWS:
Hi,
You should be able to use the same
AmazonSimpleEmailServiceClient()
object to send using multiple threads.Regards, Rohan
相关问答
更多-
我的问题是:我能在单处理器机器上真的加快发送邮件的速度有多快? 我的收益看起来是否合理,或者由于编码而导致速度问题更可能发生,而不是计算机无法更快处理电子邮件? 一般来说,线程数量增加25倍的速度提升4倍并不算离谱,但也不算太好。 当CPU使用率很高时,单个CPU只会成为瓶颈。 您可以通过查看应用程序运行时的总CPU使用情况来判断这是否是一个问题。 理论上,发送大量电子邮件应该是I / O限制操作; 如果这不是你的情况,那么你的代码可能有问题。 尽管我没有使用亚马逊SES,但我知道其他亚马逊产品绝对使用各种 ...
-
您应该使用几个月前AWS推出的模板和SendBulkTemplatedEmail端点: https ://aws.amazon.com/blogs/ses/introducing-email-templates-and-bulk-sending/。 这样,您可以使用单个SES API调用发送多达50封个性化电子邮件。 所以有14个电话的700个。 您不应该考虑在用户的浏览器中排队,并通过发送一系列AJAX请求来发送它们。 您应该只发送一个Ajax请求来开始一项工作。 在大多数服务器端语言中(任何我能想到的) ...
-
使用ASP.NET发送电子邮件(Sending emails with ASP.NET)[2024-02-19]
我采取了两种方法: 1)懒惰,马虎的方法来配置asp.net进程超时时间足够长,以通过发送完成 2)创建一个由Web应用程序产生的控制台应用程序。 I've taken two approaches: 1) Lazy, sloppy approach of configuring the asp.net process timeout long enough to complete via Send 2) Create a console app that is spawned by the web app ... -
是。 如果您使用的是Gmail等第三方服务器,则需要在每封电子邮件中上传简历。 但是,有很多简单的方法可以在后台执行此操作。 使用此功能一段时间,如果您有特定问题或疑问,请发布您的代码和您的具体问题: List
recipients = new List (); BackgroundWorker emailer = new BackgroundWorker(); public void startSending() { emailer.D ... -
这是我从AWS得到的答案: 嗨, 您应该能够使用相同的AmazonSimpleEmailServiceClient()对象来使用多个线程进行发送。 问候,罗汉 This is the answer I got from AWS: Hi, You should be able to use the same AmazonSimpleEmailServiceClient() object to send using multiple threads. Regards, Rohan
-
使用python和gmail在同一个线程中发送多个电子邮件(Send multiple emails in the same thread using python and gmail)[2023-09-12]
这似乎不是关于发送电子邮件的问题,而是如何将它们组织到GMail将正确地解决它们。 有关线程如何工作的说明,请参阅此页面 。 基本上你需要后续的电子邮件在主题行的开头加入“Re:”。 由于您没有显示生成消息的代码,因此无法说明您可能会这样做。 This doesn't appear to be a question about sending emails, but rather how to organise them to GMail will thread them correctly. See th ... -
对于那些感兴趣的人,我做了我的研究,发现2家公司提供入站电子邮件解析:SendGrid和PostMark。 我将使用其中一个,而不是弄清楚如何自己开发一切。 感谢您的投入! 罗曼 For those interested, I did my research and found out that 2 companies offer inbound email parsing : SendGrid and PostMark. I'll use one of them instead of figuring o ...
-
是。 Django线程被阻止该特定用户。 您可能希望使用Celery和Rabbit Mq在后台发送邮件。 Yes. Django thread is blocked for that particular user. You might want to use Celery along with Rabbit Mq for sending mail in background.
-
AWS端口25问题,用于通过EC2上托管的应用发送电子邮件(AWS Port 25 issue for sending emails though app hosted on EC2)[2024-01-29]
AWS安全组是有状态的,因此一旦您创建入站规则,出站规则将自动创建。 欲了解更多信息,请参阅此链接 安全组是有状态的 - 如果您从实例发送请求,则无论入站安全组规则如何,都允许该请求的响应流量流入。 无论出站规则如何,允许响应允许的入站通信流出。 AWS Security Group is stateful and hence once you create an inbound rules, outbound rules will automatically being created. For more ... -
AWS SES不使用SendRawEmail操作发送电子邮件(AWS SES does not send emails using SendRawEmail operation)[2022-05-01]
RawData Data RawData应该是base64编码的。 正如文件所述 : // SDK自动对数据进行base64编码/解码。 Data in RawData should not be base64 encoded. As documentation states: // Data is automatically base64 encoded/decoded by the SDK.