There are always small little things, from your memory, that erode with time. The #tidbit series is a reminder, of-sorts. Here are some helpful CSS tips
CSS to simply center the fixed element wrt width (source:SO)
CSS to simply center the fixed element wrt width (source:SO)
.centered { position: fixed; left: 50%; transform: translate(-50%, 0); }
0 comments
Post a Comment