All Projects → macloo → html_css_templates

macloo / html_css_templates

Licence: MIT License
Simple templates for small projects

Programming Languages

HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to html css templates

Manual Testing
This repository contains the General Test Cases for performing Manual Testing on the Web/Mobile application. It also has Test cases related to API Testing. Templates related to Test Plan and BugBash are also updated.
Stars: ✭ 134 (+509.09%)
Mutual labels:  templates, beginner
rfordatasciencewiki
Resources for the R4DS Online Learning Community, including answer keys to the text
Stars: ✭ 40 (+81.82%)
Mutual labels:  beginner
starter-repo
Documentation templates for use in open source and open development projects
Stars: ✭ 39 (+77.27%)
Mutual labels:  templates
rust-azure-pipelines
Collection of azure pipelines templates for rust
Stars: ✭ 43 (+95.45%)
Mutual labels:  templates
FlaxSamples
Collection of example projects for Flax Engine
Stars: ✭ 50 (+127.27%)
Mutual labels:  templates
python-beginners
For students who are learning Python3, with only intermediate JavaScript skills at the start
Stars: ✭ 38 (+72.73%)
Mutual labels:  beginner
bazaar
思源笔记社区集市。SiYuan community bazaar.
Stars: ✭ 18 (-18.18%)
Mutual labels:  templates
xcode-config
My Xcode config - Alfred Workflow, File templates, Xcode code snippets, themes, IDETextKeyBindingSet
Stars: ✭ 16 (-27.27%)
Mutual labels:  templates
data
The data behind the Datenanfragen.de project. This contains a directory of contact information and privacy-related data on companies under the scope of the EU GDPR, a directory of supervisory authorities for privacy concerns, a collection of templates for GDPR requests and a list of suggested companies to send access requests to.
Stars: ✭ 61 (+177.27%)
Mutual labels:  templates
HACKTOBERFEST2021 INSPIRATION
😎A Hacktoberfest-2021 Contribution Repository For Beginners😎...Simplest Repo for Beginners👨‍💻👨‍💻👨‍💻...Add your Profile Details, Photo and Inspirational Quote 🙌🙌🙌& There you go to do your first PR❤❤❤
Stars: ✭ 30 (+36.36%)
Mutual labels:  beginner
ftl
The Fortran Template Library
Stars: ✭ 87 (+295.45%)
Mutual labels:  templates
peachpie-templates
Peachpie project templates.
Stars: ✭ 12 (-45.45%)
Mutual labels:  templates
gobuff realworld example app
Example Buffalo codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec.
Stars: ✭ 18 (-18.18%)
Mutual labels:  beginner
Yet Another Algorithms Repository
Beginner friendly repo for easily contributing algorithms' implementations
Stars: ✭ 31 (+40.91%)
Mutual labels:  beginner
amazon-workmail-lambda-templates
Serverless applications for Amazon WorkMail.
Stars: ✭ 17 (-22.73%)
Mutual labels:  templates
the-duck-gallery
theduckgallery.zenika.com
Stars: ✭ 21 (-4.55%)
Mutual labels:  beginner
eRCaGuy dotfiles
.bashrc file, terminal prompt that shows current git branch, Arduino setup, Eclipse setup, git diff with line numbers, helpful scripts, improved Linux productivity, etc.
Stars: ✭ 84 (+281.82%)
Mutual labels:  templates
laravel-mjml
Laravel MJML offers support for rendering MJML syntax into in-line HTML that can be sent within mails.
Stars: ✭ 26 (+18.18%)
Mutual labels:  templates
munhasir
Sample RESTful single page web app with Go, MongoDB and VueJS. A platform for keeping diaries for those who are cautious(or paranoid).
Stars: ✭ 24 (+9.09%)
Mutual labels:  templates
k6-template-typescript
Template to use TypeScript with k6
Stars: ✭ 90 (+309.09%)
Mutual labels:  templates

HTML and CSS templates

Extremely simple templates for starting a small project.

Below is an overview of the terms. Open the similarly named HTML file and its CSS to see it in action.

Videos (2018): Intro to Web Apps

basic

A plain vanilla HTML page with no CSS.

Example page

File: basic.html

simple

This page has a CSS file attached. View page.

File: simple2.html

box-sizing

Web pages by beginners often look horribly different in different Web browsers. Often this can be traced back to the ways in which margin and padding are specified in the CSS. Some web browsers interpret some aspects of margin and padding differently from other browsers.

Resource 1: box-sizing

Resource 2: Inheriting box-sizing Probably Slightly Better Best-Practice — this is what I do now (except the ::before and ::after parts), but it might be overkill for beginners

Video: How box-sizing fixes a width problem (demo) Margin, padding, and how to center elements with margin: auto are discussed.

Example page

flexbox

Beginners can get very confused about the differences among flex, float, grid, and inline-block (all covered below). Think of flex as the modern solution to solving challenges with a set of small items (or boxes) on a page. However, for a full-page layout solution, look to grid instead.

Browser support for CSS flexbox is very good.

Resource 1: Using CSS Flexible Boxes

Resource 2: A Complete Guide to Flexbox

Resource 3 (video): Flexbox Tutorial: Real Layout Examples

Example page

floats

In CSS, float declarations are commonly used to place elements (such as images, or sidebars) on a page. They pose challenges for beginners, in large part because usually they must be "cleared" after use.

Problems with floats also arise because of the box-sizing issue (see above): when there is not enough space for a floated item, elements "fall down" below instead of floating side by side, as you intended. The error with insufficient space can be caused by the width of margins and padding — the sum of all the widths is greater than you calculated. This can also occur as part of inheritance (the "cascade" of Cascading Style Sheets).

Resource 1: float (a great reference at Mozilla Developer Network)

Resource 2: CSS Floats 101

Video: Clearing floats

Video: Comparing floats with positioning (demo) Relative, absolute, and fixed position are discussed after floats.

grid

The CSS grid has revolutionized grid-style page layouts, making floats and inline-block styles unnecessary in many cases (but not all). Good planning is required before you can implement the grid effectively. See also flexbox above.

Browser support for CSS grid is pretty good but not yet universal.

Resource 1: Basic concepts of grid layout

Resource 2 (video): CSS Grid Changes EVERYTHING

Resource 3: Building Production-Ready CSS Grid Layouts Today — by the guy in the video

Resource 4: Layout Land — great videos by Jen Simmons, Mozilla Designer and Developer Advocate

Resource 5: Grid by Example — super-short videos that each show how to do just one thing, by Rachel Andrew (check out her website too)

inline-block

It's possible to replace the float techniques with display: inline-block. Each method has issues, and each method requires that we use box-sizing to make it work properly. Beginners must understand that they cannot use the two together; it's an either/or choice.

Resource: What’s the Deal With Display: Inline-Block?

Example Compares inline-block and floats.

Normalize.css

This stylesheet is widely used throughout the web design community to smooth out all the differences among browsers. Load this first, then load your own CSS file. All the HTML files here (except basic.html) use Normalize.

Resource: Normalize.css

universal selector

The web design community expresses various opinions about use of the universal selector (*) in CSS. It should not be overused. I use it for box-sizing in most of my CSS stylesheets.

Resource: Universal selectors (MDN)

viewport / responsive pages

All the pages here use the viewport meta tag in the HTML head element. It helps to make your pages look good on small screens, i.e. mobile. However, just slapping the tag on your page does not instantly fix everything.

Resource 1: Stop using the viewport meta tag (until you know how to use it)

Resource 2: Use CSS media queries for responsiveness

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].