CSS errors with an error

I try to fix an issue with the CSS line:

 	[class*=" myicon-header"], [class^="myicon-header"] 	

An error:
Value Error : speak none is not a speak value : none

Another issue:

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after 
{
 transition: all 150ms;
 transition-delay: 0;
}

An error:
0 is not a transition-delay value : 0
How to fix this error?

Why not try 0s ?

1 Like

Why are you adding a transition to everything on your page? Seems a bit odd to me.

As @Gandalf said the transition-delay is one of the places where units are required for zero values so you need 0s.

However the default for transition-delay is zero anyway so why do you need that rule at all.

html.transition,
html.transition *,
html.transition *:before,
html.transition *:after 
{
 transition: all 150ms;
}
1 Like

Thank you for all your recommendations. I need to test.

I have tested and add a new sign s. It works now. Thank you.

I have not solved an error:

   [class*=" myicon-header"], [class^="myicon-header"] 	

How are you using that? Perhaps it would help to see that in context.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.