Click here to Skip to main content
15,511,378 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Is there any risk in installing Linux on top of Windows? Pin
patbob29-May-18 7:03
patbob29-May-18 7:03 
GeneralGame Pin
Nelek26-May-18 5:14
protectorNelek26-May-18 5:14 
GeneralSplitting CSS? Pin
RandyBuchholz26-May-18 4:14
RandyBuchholz26-May-18 4:14 
GeneralRe: Splitting CSS? Pin
Sander Rossel26-May-18 4:41
professionalSander Rossel26-May-18 4:41 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 6:05
RandyBuchholz26-May-18 6:05 
GeneralRe: Splitting CSS? Pin
Sander Rossel26-May-18 23:52
professionalSander Rossel26-May-18 23:52 
GeneralRe: Splitting CSS? Pin
Marc Clifton26-May-18 7:02
mvaMarc Clifton26-May-18 7:02 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 9:55
RandyBuchholz26-May-18 9:55 
Marc Clifton said:
Personally, I'd like to see a completely separate mapping, ok, use the class and id tag values, that would map those values to the css that styles those elements.
...
To me, that would be a clean separation of concern and make it really easy to change the style globally or of specific element without caring about whether the style is used elsewhere.

Maybe such a thing exists. It shouldn't be to hard to actually write something like that that applies styles to elements after the DOM is loaded but before the page is rendered


I do something similar, but on the server side, with Razor. I can put semantic classes in the Razor page and these get converted to "lower level" classes when the page gets rendered.
GeneralRe: Splitting CSS? Pin
Sander Rossel26-May-18 11:13
professionalSander Rossel26-May-18 11:13 
PraiseRe: Splitting CSS? Pin
kmoorevs26-May-18 7:33
kmoorevs26-May-18 7:33 
GeneralRe: Splitting CSS? Pin
dandy7226-May-18 8:15
dandy7226-May-18 8:15 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 9:38
RandyBuchholz26-May-18 9:38 
GeneralRe: Splitting CSS? Pin
dandy7226-May-18 10:40
dandy7226-May-18 10:40 
GeneralRe: Splitting CSS? Pin
Chris Maunder26-May-18 8:47
cofounderChris Maunder26-May-18 8:47 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 9:51
RandyBuchholz26-May-18 9:51 
GeneralRe: Splitting CSS? Pin
Chris Maunder26-May-18 11:26
cofounderChris Maunder26-May-18 11:26 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 12:19
RandyBuchholz26-May-18 12:19 
GeneralRe: Splitting CSS? Pin
jgakenhe26-May-18 9:07
professionaljgakenhe26-May-18 9:07 
GeneralRe: Splitting CSS? Pin
RandyBuchholz26-May-18 9:44
RandyBuchholz26-May-18 9:44 
GeneralWhy does most C/C++ developer prefers char *c instead of char* c? Pin
.jpg26-May-18 3:20
.jpg26-May-18 3:20 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 3:30
User 1106097926-May-18 3:30 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
Mike Hankey26-May-18 3:57
professionalMike Hankey26-May-18 3:57 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
lopatir26-May-18 4:12
lopatir26-May-18 4:12 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
User 1106097926-May-18 4:22
User 1106097926-May-18 4:22 
GeneralRe: Why does most C/C++ developer prefers char *c instead of char* c? Pin
lopatir26-May-18 5:21
lopatir26-May-18 5:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   581 votes