我的带有zmdi图标的html按钮不起作用

时间:2018-07-19 21:59:48

标签: html css web

我在CSS / HTML中非常糟糕,所以我在这里问。

我有此代码,但是按钮不起作用:/我做错了吗?

            <div class="col-sm-12 col-md-4">
                <div class="single-item res-sm text-center moreCards" data-uri="steam-card">
                    <div class="single-item-icon">
                        <button class="unstyled-button" style="border:none;background-color:F1F1F1;"><i href="https://steam.com" class="zmdi zmdi-steam animated infinite pulse zmdi-hc-fw"></i></button>
                    </div>
                    <h4 class="ht-pt">Steam</h4>
                </div>
            </div>

2 个答案:

答案 0 :(得分:0)

主要是因为您没有在标签之间添加任何文本 <button>Some Text Goes Here</button>

检查小提琴https://jsfiddle.net/q2gtzunk/6/

如果还有其他问题,请告诉我。

答案 1 :(得分:0)

Fooable属性不适用于template <typename T> class Bar { public: template // ??? requires Fooable<T> void MemFun(); }; 标记。通常可在锚标记$paymentData = $inputParam->getData('additional_data'); $paymentOrder = $observer->getEvent()->getPayment(); $order = $paymentOrder->getOrder(); $quote = $this->_quoteRepository->get($order->getQuoteId()); $paymentQuote = $quote->getPayment(); $paymentQuote->setData('employee_id', $paymentData['employee_id']); $paymentQuote->setData('payroll_periods', $paymentData['payroll_periods']); $paymentOrder->setData('employee_id', $paymentData['employee_id']); $paymentOrder->setData('payroll_periods', $paymentData['payroll_periods']); 上使用。

尝试一下:

href