首页 \ 问答 \ Doubble强调效果CSS(Double underline effect CSS)

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
更新时间:2023-02-21 10:02

最满意答案

这是我从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请求来开始一项工作。 在大多数服务器端语言中(任何我能想到的) ...
  • 我采取了两种方法: 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
  • 这似乎不是关于发送电子邮件的问题,而是如何将它们组织到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安全组是有状态的,因此一旦您创建入站规则,出站规则将自动创建。 欲了解更多信息,请参阅此链接 安全组是有状态的 - 如果您从实例发送请求,则无论入站安全组规则如何,都允许该请求的响应流量流入。 无论出站规则如何,允许响应允许的入站通信流出。 AWS Security Group is stateful and hence once you create an inbound rules, outbound rules will automatically being created. For more ...
  • 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.

相关文章

更多

最新问答

更多
  • 您如何使用git diff文件,并将其应用于同一存储库的副本的本地分支?(How do you take a git diff file, and apply it to a local branch that is a copy of the same repository?)
  • 将长浮点值剪切为2个小数点并复制到字符数组(Cut Long Float Value to 2 decimal points and copy to Character Array)
  • OctoberCMS侧边栏不呈现(OctoberCMS Sidebar not rendering)
  • 页面加载后对象是否有资格进行垃圾回收?(Are objects eligible for garbage collection after the page loads?)
  • codeigniter中的语言不能按预期工作(language in codeigniter doesn' t work as expected)
  • 在计算机拍照在哪里进入
  • 使用cin.get()从c ++中的输入流中丢弃不需要的字符(Using cin.get() to discard unwanted characters from the input stream in c++)
  • No for循环将在for循环中运行。(No for loop will run inside for loop. Testing for primes)
  • 单页应用程序:页面重新加载(Single Page Application: page reload)
  • 在循环中选择具有相似模式的列名称(Selecting Column Name With Similar Pattern in a Loop)
  • System.StackOverflow错误(System.StackOverflow error)
  • KnockoutJS未在嵌套模板上应用beforeRemove和afterAdd(KnockoutJS not applying beforeRemove and afterAdd on nested templates)
  • 散列包括方法和/或嵌套属性(Hash include methods and/or nested attributes)
  • android - 如何避免使用Samsung RFS文件系统延迟/冻结?(android - how to avoid lag/freezes with Samsung RFS filesystem?)
  • TensorFlow:基于索引列表创建新张量(TensorFlow: Create a new tensor based on list of indices)
  • 企业安全培训的各项内容
  • 错误:RPC失败;(error: RPC failed; curl transfer closed with outstanding read data remaining)
  • C#类名中允许哪些字符?(What characters are allowed in C# class name?)
  • NumPy:将int64值存储在np.array中并使用dtype float64并将其转换回整数是否安全?(NumPy: Is it safe to store an int64 value in an np.array with dtype float64 and later convert it back to integer?)
  • 注销后如何隐藏导航portlet?(How to hide navigation portlet after logout?)
  • 将多个行和可变行移动到列(moving multiple and variable rows to columns)
  • 提交表单时忽略基础href,而不使用Javascript(ignore base href when submitting form, without using Javascript)
  • 对setOnInfoWindowClickListener的意图(Intent on setOnInfoWindowClickListener)
  • Angular $资源不会改变方法(Angular $resource doesn't change method)
  • 在Angular 5中不是一个函数(is not a function in Angular 5)
  • 如何配置Composite C1以将.m和桌面作为同一站点提供服务(How to configure Composite C1 to serve .m and desktop as the same site)
  • 不适用:悬停在悬停时:在元素之前[复制](Don't apply :hover when hovering on :before element [duplicate])
  • 常见的python rpc和cli接口(Common python rpc and cli interface)
  • Mysql DB单个字段匹配多个其他字段(Mysql DB single field matching to multiple other fields)
  • 产品页面上的Magento Up出售对齐问题(Magento Up sell alignment issue on the products page)