如何在首页上的<a> link?

时间:2019-04-25 19:28:34

标签: css wordpress

I'm trying to add a red 2px border when a customer hovers over one of my three 'service widgets' on my website https://tomnicholls.co上应用边框。我找不到容器,因此无法弄清楚在哪里应用代码?我什至似乎都没有添加常规边框,没关系在:hover上添加边框。

我尝试将代码应用于.col-link和.col-link .custom-link,还尝试为该列提供一个类并对其应用代码,以及为实际的内容块提供一个类(btn-widget )并对其应用CSS,但似乎没有任何效果。

.btn-widget {
    width: 328px !important;
    margin-left: 72px !important;
    border-left: 2px !important;
    border-right: 2px !important;
    border-top: 2px !important;
    border-bottom: 2px !important;
    border-color: #c92228 !important;
    z-index: 1000;
    color: #000000 !important;
}

我想解决问题并在悬停上加边框

1 个答案:

答案 0 :(得分:0)

它与此兼容:

void move(int n)
    {
        if (head == NULL || head->next == NULL)
        {
            return;
        }
        node *first = head;
        node *temp =new node;

        for (int i = 1; i < n-1; i++)
        {
            first=first->next;
        }
        temp = first->next;
        first->next=first->next->next;
        temp->next = NULL;

        tail->next = temp;
        tail=temp;
    }