/    Sign up×
Community /Pin to ProfileBookmark

CSS problem

Hi,
In the following I didn’t figure out how to correct these lines (They were in scss and I converted them online to css)
[upl-image-preview url=https://www.webdeveloper.com/assets/files/2020-05-29/1590785647-333994-css.png]

Thank you for any indications.

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@aPavlickMay 30.2020 — I just started playing with CSS animations & keyframes so I may be wrong. But the selectors shouldn't be in the keyframe definition. I think it should be something like this...

``<i>
</i>.spinner.lds-ring {
/* CSS Styles */
animation: spin 1s linear infinite;
}

@keyframes spin {
/* "To" &amp; "from" can be replaced with 0/100%. We are saying the same thing*/
to {
transform: rotate(0deg);
}
from {
transition: rotate(360deg);
}
}<i>
</i>
`</CODE>
The trick is keyframe is for specifying what properties are animated &amp; when but not targeting. That's handled in a separate block using the animation shorthand property.
<CODE>
`<i>
</i>animation: name duration timing-function delay iteration-count direction fill-mode;<i>

</i>
``

Hope that helps!
Copy linkTweet thisAlerts:
@lucikewlMay 30.2020 — Should I learn jQuery, CSS and Bootstrap or focus on Vanilla JS, SQL Server and React

Will having a good command over jQuery, CSS and Bootstrap be beneficial for a Dot Net Web developer? I have just started learning ASP.NET MVC 5 and will later learn .NET Core.

I personally feel that I should learn as much Vanilla JS, SQL Server and React as possible instead of learning jQuery, CSS and Bootstrap.

https://19216801.onl/ https://routerlogin.uno/ https://192168ll.link/
×

Success!

Help @osos spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 3.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,

tipper: Anonymous,
tipped: article
amount: 10 SATS,
)...