Sticky floating sidebar with pure CSS

In this short post I will show you how to make a floating but sticky elements on a side bar. The element is sticky to the bottom of the screen, but when content is scrolled then the upcoming header or footer element gets precedense and moves the sticky element around. See how it behaves on an animation.

By Mirek on (tags: css, flex, HTML, sidebar, sticky, categories: code, web)

Full responsive vs m-site approach

Nowadays there are more mobile devices than desktops and every mobile device can have different resolution and aspect ratio. That means that we need to come up with optimal solution to that situation. There are basically two main approaches: a website that can dynamically adapted to every screen size - full responsive or additional dedicated mobile version of every page – mobil…

By Piotr on (tags: ASP.NET, responsive design, categories: code, web)

Error handling in ASP.NET 5

There is a lot of changes since MVC5 regarding error handling. I will show you how to catch and handle some basic errors. Here is a nice article by Krzysztof about error handling in MVC5. First of all let me explain what “middleware” is…. or even better – here is the definition of middleware provided by OWIN from here: Pass through components that form a pipeline between a serv…

By Piotr on (tags: ASP.NET5, error, mvc6, web, categories: web)

MVC custom error pages

Long story short – mvc does not handle custom error pages in a way that could be described as ‘even close to correct’. But if you need to fulfill a requirement, you start hacking.

By eidias on (tags: mvc, categories: code, web)