For a long period of time comic books lost their popularity. Maybe it was because of the Comic Code Authority or maybe it was because of the debut of television or maybe it was just the times, but people just weren't very interested anymore.
In a last ditch effort, Atlas Comics, formerly Timely Comics, revamped themselves into Marvel Comics, creating an all-new batch of super-heroes starting with the Fantastic Four. Fantastic Four went against most rules of super-hero comics. They didn't have secret-identities, they had normal lives, and they were a super-team, something that had been rarely seen before in comics. Then came the Hulk, Thor, Spider-Man, and the X-Men. All of which were done by the top-notch talent of the time, including Jack Kirby, Stan Lee, and Steve Ditko.
Spider-Man also proved to be an important evolution in comics. Unlike Superman, he was a nerd and a student. He had no money to get gadgets like Batman and thus had to make his own. He is now considered one of the most popular characters in comics.
Somewhere along the line DC Comics was purchased by Time Warner. This only brought comic books even more into the media as characters began getting their own tv series and even movies.
And from there on a wonderful battle began, who could be the better company, Marvel or DC. To this day they're still fighting to beat each other in sales.
While all this was happening, another revolution in comics began. In the late 60's the first of many underground comics to come from such acclaimed artists as Robert Crumb, Gilbert Shelton, and Robert Williams was released. These comics featured material found to be obscene in many cases, which is the exact reason why Zap #4 was prosecuted for obscenity. The trial lasted several years and went through numerous appeals. In 1971, the Comics Code was revamped a bit to allow the return of horror comics. In 1973, the comic was finally ruled obscene and banned. Since then, the work of its creators has appeared in the Museum of Modern Art and other galleries.