Send section / DIV to print on printer instead of the whole page
I was searching for a way to print a div using JavaScript on StackOverflow - there were many results esp using jQuery using plugins. But this CSS-only way is really an elegant solution. Worthy of posting it here. Credits at the bottom.
<!DOCTYPE html...
anjanesh.dev