在不按预期工作之前

时间:2016-07-07 10:49:43

标签: html css

我正在尝试将伪元素GeneralInventoryINSERT INTO GeneralInventory (ItemCode, Qty) SELECT RE.ItemCode, RE.ReceivedQty FROM Receiving RE LEFT JOIN GeneralInventory GI ON GI.ItemCode = RE.ItemCode AND GI.Qty = RE.ReceivedQty WHERE RE.RINo = 'Data of RINo' UPDATE GeneralInventory GI INNER JOIN receiving RE ON GI.ItemCode = RE.ItemCode AND GI.Qty = RE.ReceivedQty SET GI.Qty = GI.Qty + RE.ReceivedQty RE.RINo = 'Data of RINo' 放在一起,但它不会显示。 (Bootstrap是不是搞乱了?)

我确实看了其他答案并试图放const meta = { title: 'Some Meta Title', description: 'I am a description, and I can create multiple tags', canonical: 'http://example.com/path/to/page', // this will be doubled as og:url meta: { charset: 'utf-8', name: { keywords: 'react,meta,document,html,tags' }, property : { 'og:url' : 'http://example.com/overriden_url' // but here you can override the autogenerated og:url } } }; ,但仍然无法显示。

我也尝试了meta,但它仍然会保持隐身。

这是HTML

df1, df2, df3,..., dfn

这是CSS

::before

2 个答案:

答案 0 :(得分:2)

对于大多数浏览器,beforeafter属性不适用于img元素。见这里 - Does :before not work on img elements?

答案 1 :(得分:0)

我的answer其他帖子也是如此。

来自specification

  

作者使用:before和:after伪元素指定生成内容的样式和位置。正如其名称所示,:before和:after伪元素指定元素文档树内容之前和之后的内容位置。 'content'属性与这些伪元素一起指定插入的内容。