Hey, this is an English text. I want you to translate it into the Tunisian dialect.…
- User
Hey, this is an English text. I want you to translate it into the Tunisian dialect. Please follow these steps:
- Translate step by step and highlight differences between Tunisian dialect and Modern Standard Arabic.
- Highlight sections you are confident translating into the Tunisian dialect. Translate this text into the Tunisian dialect, focusing on capturing the essence of the language nuances:
Q: Creating a background color "ping" using only CSS3 I want to create a simple "ping" feature when an event happens on a div. For example, if the user clicks a div, I want the div to quickly change background color and then slowly transition back to the original color. I would like to do this purely with CSS3 if possible. A: You can use a trick with the transition property, and the pseudo class :active that will be triggered on click. On the :active pseudo, set the transition to 0s, so it will instantly change the color. Then, when it is not triggered anymore the default transition: 1s /or whatever speed/ will slowly get it back to its original color. div { width: 100px; height: 100px; background: silver; transition: 1s; } div:active { background: yellow; transition: 0s; } http://jsfiddle.net/1vgef44t/
- Assistant