<h3 class='tnt'>TNT</h3>
.tnt {
border-radius: 50%;
border: 5px solid #000;
height: 50px;
line-height: 50px;
blockquote { | |
color: #444; | |
font-style: italic; | |
} | |
blockquote::before, blockquote::after { | |
color: #000; | |
font-size: 3em; | |
} | |
blockquote::before { |
/* O atributo "media" indica que estes estilos | |
só devem ser aplicado para impressões */ | |
<link href="print.css" media="print"> | |
/* OU */ | |
@media print { | |
/* Este CSS só será aplicado quando a página for impressa */ | |
* { | |
background: transparent !important ; |
@font-face { | |
font-family: "Lobster"; | |
font-style: normal; | |
font-weight: 400; | |
/* a propriedade src é responsável por definir a localização da fonte: | |
a função local informa um possível nome para a fonte que será pesquisado | |
na máquina do usuário, ou uma URL externa para que a fonte seja baixada | |
como um recurso adicional, igual a uma imagem de fundo, por exemplo. */ | |
src: local('Lobster'), url(/fonts/lobster.woff) format('woff'); | |
} |
<h3 class='tnt'>TNT</h3>
.tnt {
border-radius: 50%;
border: 5px solid #000;
height: 50px;
line-height: 50px;
#include <iostream>
#include <chrono>
#include <ctime>
long fibonacci(unsigned n)
{
if (n < 2) return n;
return fibonacci(n-1) + fibonacci(n-2);
}
<p><b>Note:</b> IE8 supports the outline properties only if a !DOCTYPE is | |
specified.</p> |
Exemplo
#include <stdio.h>
#include <string.h>
int main ()
{
char str[50];
strcpy(str,"This is string.h library function");
In MySQL, there is no need to give a symbolic name to foreign key constraints. If a name is not given, InnoDB creates a unique name automatically.
fk_[referencing table name]_[referenced table name]
Example:
CREATE TABLE users(
user_id int,
// Java Date | |
java.util.Date utilDate = new java.util.Date(); | |
// SQL Date | |
java.sql.Date sqlDate = new java.sql.Date(utilDate.getTime()); | |
// http://www.guj.com.br/t/converter-java-util-date-para-java-sql-date/29205/2 |