Jump to content
  • 0

Гугл ругается на "-webkit"


grisha2217
 Share

Question

Начал потихоньку оптимизировать свой форум, убирать лишние css

Возник вопрос.

Зачем нужно использовать -webkit, к примеру, -webkit-border-bottom-left-radius, если можно использовать border-bottom-left-radius?

Гугл просто ругается на CSS:

  • "-webkit-border-bottom-left-radius" is used, but "border-bottom-left-radius" is supported.
  • "-webkit-border-bottom-right-radius" is used, but "border-bottom-right-radius" is supported.

Как быть?
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0
  On 8/13/2013 at 5:41 PM, SelenIT said:
  On 8/13/2013 at 5:21 PM, alexriz said:
border-radius давно поддерживается современными браузерами без префиксов, кроме Fx

???

тьфу... каюсь попутал... то box-sizing с префиксом в мозиле

  • Like 1
Link to comment
Share on other sites

  • 0
  On 8/14/2013 at 8:26 AM, grisha2217 said:

Мне нужна кроссбраузерность.( не про IE) Чтобы во всех браузерах отображалось одинаково.

Вам же дали ссылку там доходчиво написано, какими браузерами поддерживается.

Link to comment
Share on other sites

  • 0

Ух ты, FF3.6, Chrome 4, Safari 4...

А я фигнёй маюсь, на css3pie генерирую код с этими префиксами.

  On 8/13/2013 at 3:31 PM, grisha2217 said:
-webkit-border-bottom-left-radius, если можно использовать border-bottom-left-radius?

Сводим извращения к минимуму: border-radius: 5px; или (если разные скругления для разных углов) border-radius: 5px 6px 7px 8px;

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy