![]() Adding plain CSS to a mainly SCSS styled app isn't bad, but I suggest you put all your additional CSS in a separate file so that it is clear what the compiled CSS from SCSS is and what the new CSS you used is.įor the most part SCSS can almost be used Exactly like CSS as far as I know and its worth learning. SCSS is neat because it allows you to short hand a bunch of stuff and saves you typing and annoying syntax and lets you use variables which plain CSS doesn't allow. ![]() It is just very backwards and not ideal.īy doing what you said you wanted to do you are doing something that is not not advised. Also, prefixing may become a thing of the past one day, as webkit announced that it was doing away with prefixes. This has to be one of the biggest sanity checks for front end developers in the past 5 to 6 years. SCSS compiles to CSS, that would be like writing software in C++ and then editing the compiled object files or writing software in Java and then editing the byte code. This will ensure your code will work on older browsers that require prefixes and prepare for the day when prefixes aren't needed. If you ABSOLUTELY have to just put the extra CSS you want to add or want your coworkers to add in separate CSS files that AREN'T SCSS/SASS. I'd rather like to keep myself as the only developer who uses SCSS instead of having to train the other people in the office.ĭON'T! It will be very hard to maintain what you edited and when you reload the Wordpress site you will lose the edits to the compiled CSS file (pure assumption). Will this break the compiler? When I update the SCSS file in the future, will this overwrite/ignore the new custom CSS? CSS file instead of using the above method to add SCSS instead? My question is: What happens if one of the other people in my office directly FTPs onto the server and makes an edit to the. Probably not the most efficient workflow but I'm quite impressed with what I've managed to pull off.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |