Did you got stuck when styling your fonts?

Did you got stuck when styling your fonts?

As a front-end developer I always have the same problem when I need to define my font-sizes and line-heights in my CSS. Normally I need to take in consideration the base-size of the font to create the sizes of my h-elemnts and add to the equation the line-hight which needs to be proportional. And when all that is in place I go to bed whishing that the customer don’t change the font-type.

Well, to avoid that problem I strongly recommend you type-scale.com.

At type-scale you can choose the font family and base-size and the page will calculate for you the headers and pragraphs sizes and line-heights. You can also choose between different scales i.e. minor third, major third, augmented and a lot more.

Not enough whith that, type-scale generate a CSS-script that can be used in your CSS file with all sizes and line-heights.

Happy coding!!!

First video of our Sass tutorial is online!

First video of our Sass tutorial is online!

 

Hello everybody. I am happy to say that the first video of a serie of videos about Sass is online and you can see it in the Tutorial’s page. I will try to upload new videos in a regular basis, meanwhile send me your feedbacks to have an idea of what I should improve.

This is the first time I create a video serie and I was a little nervous I must to admit. Now I am working in the second one which will be a little longer because we will get our hands dirty creating our workflow with Gulp.

Enjoy this first video and do not miss the next ones!!!

Uninstalling .Net Core on Mac

If you own a Mac computer and decided to test the new .net Core framework keep in mind that you will need a script to do the uninstallation. This is the script:


#!/usr/bin/env bash
#
# Copyright (c) .NET Foundation and contributors. All rights reserved.
# Licensed under the MIT license. See LICENSE file in the project root for full license information.
#

DIR=”$( cd “$( dirname “${BASH_SOURCE[0]}” )” && pwd )”

current_user=$(whoami)
if [ $current_user != “root” ]; then
echo “$(basename “$0″) uninstallation script requires superuser privileges to run”
exit 1
fi

# this is the common suffix for all the dotnet pkgs
dotnet_pkg_name_suffix=”com.microsoft.dotnet”
dotnet_install_root=”/usr/local/share/dotnet”
dotnet_path_file=”/etc/paths.d/dotnet”

remove_dotnet_pkgs(){
installed_pkgs=($(pkgutil –pkgs | grep $dotnet_pkg_name_suffix))

for i in “${installed_pkgs[@]}”
do
echo “Removing dotnet component – \”$i\””
pkgutil –force –forget “$i”
done
}

remove_dotnet_pkgs
[ “$?” -ne 0 ] && echo “Failed to remove dotnet packages.” && exit 1

echo “Deleting install root – $dotnet_install_root”
rm -r “$dotnet_install_root”
rm “$dotnet_path_file”

echo “dotnet packages removal succeeded.”
exit 0

Basic C# Tutorial Online

Just ahead of a new semester and new development techniques that we will go through, this tutorial may give you a hint when it comes to C#.
App development for on-premise Sharepoint(2010 – 2013) uses C# as main language and that’s why it feels that this is the right time to take a look at what it is and how it looks.

Regissör: Mosh