Status | Code Status Message | Symbol |
---|---|---|
1xx | Informational | |
100 | Continue | :continue |
101 | Switching Protocols | :switching_protocols |
102 | Processing | :processing |
2xx | Success | |
200 | OK | :ok |
201 | Created | :created |
202 | Accepted | :accepted |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
html { | |
position: relative; | |
min-height: 100%; | |
} | |
body { | |
/* Margin bottom by footer height */ | |
margin-bottom: 60px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="#" class="close"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function changeBackground() { | |
//change color every frame | |
//initialise colors ( hue, lightness) | |
var hue = 360; | |
var light = 0; | |
function changeHue() { | |
var col1 = Math.abs((hue % 720) - 360); | |
var col2 = Math.abs( ( (hue+90) % 720) - 360); | |
hue++ ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="loading-dots"> | |
<span></span> | |
<span></span> | |
<span></span> | |
<span></span> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 769px) { | |
[class^="col-"] { | |
float: left; | |
padding: 0 1rem; | |
} | |
.col-1 { | |
width: calc(100% / 12); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.centered { | |
position: absolute; | |
top: 50%; | |
left: 50%; | |
text-align: center; | |
z-index: 1; | |
-webkit-transform: translate(-50%, -50%); | |
-moz-transform: translate(-50%, -50%); | |
-ms-transform: translate(-50%, -50%); | |
-o-transform: translate(-50%, -50%); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Navigating | |
visit('/projects') | |
visit(post_comments_path(post)) | |
# Clicking links and buttons | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>Animated CSS contact-button</title> | |
<style> | |
.phone { | |
position: fixed; | |
top: 308px; | |
right: 45%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"sidebarBg":"#263238","sidebarText":"#FFFFFF","sidebarUnreadText":"#FFFFFF","sidebarTextHoverBg":"#13191C","sidebarTextActiveBorder":"#80CBC4","sidebarTextActiveColor":"#FFFFFF","sidebarHeaderBg":"#2E3A40","sidebarHeaderTextColor":"#FFFFFF","onlineIndicator":"#50FA7B","awayIndicator":"#E0B333","dndIndicator":"#F74343","mentionBg":"#13191C","mentionBj":"#13191C","mentionColor":"#FFFFFF","centerChannelBg":"#13191C","centerChannelColor":"#FFFFFF","newMessageSeparator":"#f80","linkColor":"#2389D7","buttonBg":"#26A970","buttonColor":"#FFFFFF","errorTextColor":"#FD5960","mentionHighlightBg":"#2E3A40","mentionHighlightLink":"#2F81B7","codeTheme":"solarized-dark"} |
OlderNewer