]> _ Git - animation-chiffre.git/commitdiff
test add all files master
authornael <nael@cubedesigners.com>
Wed, 10 Oct 2018 09:44:23 +0000 (11:44 +0200)
committernael <nael@cubedesigners.com>
Wed, 10 Oct 2018 09:44:23 +0000 (11:44 +0200)
23 files changed:
chiffres-11.zip [new file with mode: 0644]
chiffres-12.zip [new file with mode: 0644]
chiffres-2.zip [new file with mode: 0644]
chiffres-3.zip [new file with mode: 0644]
chiffres-4.zip [new file with mode: 0644]
chiffres-5.zip [new file with mode: 0644]
chiffres-6.zip [new file with mode: 0644]
chiffres-7.zip [new file with mode: 0644]
chiffres-8.zip [new file with mode: 0644]
chiffres-9.zip [new file with mode: 0644]
chiffres/.idea/chiffres.iml [new file with mode: 0644]
chiffres/.idea/externalDependencies.xml [new file with mode: 0644]
chiffres/.idea/misc.xml [new file with mode: 0644]
chiffres/.idea/modules.xml [new file with mode: 0644]
chiffres/.idea/watcherTasks.xml [new file with mode: 0644]
chiffres/.idea/workspace.xml [new file with mode: 0644]
chiffres/couleur 2.PNG [new file with mode: 0644]
chiffres/couleur.PNG [new file with mode: 0644]
chiffres/countUp.min.js [new file with mode: 0644]
chiffres/font.woff [new file with mode: 0644]
chiffres/index.html [new file with mode: 0644]
chiffres/typo.png [new file with mode: 0644]
chiffres/valeurs.PNG [new file with mode: 0644]

diff --git a/chiffres-11.zip b/chiffres-11.zip
new file mode 100644 (file)
index 0000000..0be4add
Binary files /dev/null and b/chiffres-11.zip differ
diff --git a/chiffres-12.zip b/chiffres-12.zip
new file mode 100644 (file)
index 0000000..3cf5c6d
Binary files /dev/null and b/chiffres-12.zip differ
diff --git a/chiffres-2.zip b/chiffres-2.zip
new file mode 100644 (file)
index 0000000..b6b7f6a
Binary files /dev/null and b/chiffres-2.zip differ
diff --git a/chiffres-3.zip b/chiffres-3.zip
new file mode 100644 (file)
index 0000000..5eda116
Binary files /dev/null and b/chiffres-3.zip differ
diff --git a/chiffres-4.zip b/chiffres-4.zip
new file mode 100644 (file)
index 0000000..29a3aea
Binary files /dev/null and b/chiffres-4.zip differ
diff --git a/chiffres-5.zip b/chiffres-5.zip
new file mode 100644 (file)
index 0000000..66713fb
Binary files /dev/null and b/chiffres-5.zip differ
diff --git a/chiffres-6.zip b/chiffres-6.zip
new file mode 100644 (file)
index 0000000..e5e7b6b
Binary files /dev/null and b/chiffres-6.zip differ
diff --git a/chiffres-7.zip b/chiffres-7.zip
new file mode 100644 (file)
index 0000000..b215e71
Binary files /dev/null and b/chiffres-7.zip differ
diff --git a/chiffres-8.zip b/chiffres-8.zip
new file mode 100644 (file)
index 0000000..4e7c252
Binary files /dev/null and b/chiffres-8.zip differ
diff --git a/chiffres-9.zip b/chiffres-9.zip
new file mode 100644 (file)
index 0000000..b399fed
Binary files /dev/null and b/chiffres-9.zip differ
diff --git a/chiffres/.idea/chiffres.iml b/chiffres/.idea/chiffres.iml
new file mode 100644 (file)
index 0000000..c956989
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+  <component name="NewModuleRootManager">
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/chiffres/.idea/externalDependencies.xml b/chiffres/.idea/externalDependencies.xml
new file mode 100644 (file)
index 0000000..721e2a1
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ExternalDependencies">
+    <plugin id="HtmlTools" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/chiffres/.idea/misc.xml b/chiffres/.idea/misc.xml
new file mode 100644 (file)
index 0000000..28a804d
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="JavaScriptSettings">
+    <option name="languageLevel" value="ES6" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/chiffres/.idea/modules.xml b/chiffres/.idea/modules.xml
new file mode 100644 (file)
index 0000000..7315107
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/chiffres.iml" filepath="$PROJECT_DIR$/.idea/chiffres.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/chiffres/.idea/watcherTasks.xml b/chiffres/.idea/watcherTasks.xml
new file mode 100644 (file)
index 0000000..193e7f8
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectTasksOptions">
+    <TaskOptions isEnabled="false">
+      <option name="arguments" value="--no-cache --update $FileName$:$FileNameWithoutExtension$.css" />
+      <option name="checkSyntaxErrors" value="true" />
+      <option name="description" />
+      <option name="exitCodeBehavior" value="ERROR" />
+      <option name="fileExtension" value="sass" />
+      <option name="immediateSync" value="true" />
+      <option name="name" value="Sass" />
+      <option name="output" value="$FileNameWithoutExtension$.css:$FileNameWithoutExtension$.css.map" />
+      <option name="outputFilters">
+        <array />
+      </option>
+      <option name="outputFromStdout" value="false" />
+      <option name="program" value="sass" />
+      <option name="runOnExternalChanges" value="true" />
+      <option name="scopeName" value="Project Files" />
+      <option name="trackOnlyRoot" value="true" />
+      <option name="workingDir" value="$FileDir$" />
+      <envs />
+    </TaskOptions>
+    <TaskOptions isEnabled="true">
+      <option name="arguments" value="--no-cache --update $FileName$:$FileNameWithoutExtension$.css" />
+      <option name="checkSyntaxErrors" value="true" />
+      <option name="description" />
+      <option name="exitCodeBehavior" value="ERROR" />
+      <option name="fileExtension" value="sass" />
+      <option name="immediateSync" value="true" />
+      <option name="name" value="Sass - test" />
+      <option name="output" value="$FileNameWithoutExtension$.css:$FileNameWithoutExtension$.css.map" />
+      <option name="outputFilters">
+        <array />
+      </option>
+      <option name="outputFromStdout" value="false" />
+      <option name="program" value="C:/Ruby24-x64/bin/sass.bat" />
+      <option name="runOnExternalChanges" value="true" />
+      <option name="scopeName" value="Project Files" />
+      <option name="trackOnlyRoot" value="true" />
+      <option name="workingDir" value="$FileDir$" />
+      <envs />
+    </TaskOptions>
+  </component>
+</project>
\ No newline at end of file
diff --git a/chiffres/.idea/workspace.xml b/chiffres/.idea/workspace.xml
new file mode 100644 (file)
index 0000000..232f772
--- /dev/null
@@ -0,0 +1,235 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ChangeListManager">
+    <list default="true" id="b4c47842-14f4-4f3c-986d-4f8f7cfbb6a2" name="Default Changelist" comment="" />
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
+    <option name="SHOW_DIALOG" value="false" />
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
+    <option name="LAST_RESOLUTION" value="IGNORE" />
+  </component>
+  <component name="FUSProjectUsageTrigger">
+    <session id="-1176867624">
+      <usages-collector id="statistics.lifecycle.project">
+        <counts>
+          <entry key="project.closed" value="5" />
+          <entry key="project.open.time.3" value="1" />
+          <entry key="project.open.time.6" value="2" />
+          <entry key="project.open.time.7" value="2" />
+          <entry key="project.opened" value="5" />
+        </counts>
+      </usages-collector>
+      <usages-collector id="statistics.file.extensions.open">
+        <counts>
+          <entry key="css" value="2" />
+          <entry key="html" value="2" />
+          <entry key="js" value="2" />
+          <entry key="sass" value="4" />
+        </counts>
+      </usages-collector>
+      <usages-collector id="statistics.file.types.open">
+        <counts>
+          <entry key="CSS" value="2" />
+          <entry key="HTML" value="1" />
+          <entry key="JavaScript" value="2" />
+          <entry key="Sass" value="4" />
+          <entry key="Scratch" value="1" />
+        </counts>
+      </usages-collector>
+      <usages-collector id="statistics.file.extensions.edit">
+        <counts>
+          <entry key="html" value="4183" />
+          <entry key="js" value="1611" />
+          <entry key="sass" value="127" />
+        </counts>
+      </usages-collector>
+      <usages-collector id="statistics.file.types.edit">
+        <counts>
+          <entry key="HTML" value="4183" />
+          <entry key="JavaScript" value="1611" />
+          <entry key="Sass" value="127" />
+        </counts>
+      </usages-collector>
+      <usages-collector id="statistics.vcs.git.usages" />
+      <usages-collector id="statistics.php.new.test" />
+      <usages-collector id="statistics.php.composer.actions" />
+      <usages-collector id="statistics.php.composer.command.options" />
+      <usages-collector id="statistics.php.rename.constructor" />
+      <usages-collector id="statistics.php.new.class" />
+      <usages-collector id="statistics.js.language.service.starts" />
+    </session>
+  </component>
+  <component name="FileEditorManager">
+    <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
+      <file pinned="false" current-in-tab="true">
+        <entry file="file://$PROJECT_DIR$/index.html">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="714">
+              <caret line="42" column="4" lean-forward="true" selection-start-line="42" selection-start-column="4" selection-end-line="42" selection-end-column="4" />
+            </state>
+          </provider>
+        </entry>
+      </file>
+    </leaf>
+  </component>
+  <component name="FileTemplateManagerImpl">
+    <option name="RECENT_TEMPLATES">
+      <list>
+        <option value="HTML File" />
+        <option value="JavaScript File" />
+        <option value="CSS File" />
+      </list>
+    </option>
+  </component>
+  <component name="FindInProjectRecents">
+    <replaceStrings>
+      <replace />
+    </replaceStrings>
+  </component>
+  <component name="IdeDocumentHistory">
+    <option name="CHANGED_PATHS">
+      <list>
+        <option value="$PROJECT_DIR$/css/style.css" />
+        <option value="$PROJECT_DIR$/sass/style.sass" />
+        <option value="$PROJECT_DIR$/test.sass" />
+        <option value="$PROJECT_DIR$/main.js" />
+        <option value="$PROJECT_DIR$/index.html" />
+      </list>
+    </option>
+  </component>
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
+  <component name="JsGulpfileManager">
+    <detection-done>true</detection-done>
+    <sorting>DEFINITION_ORDER</sorting>
+  </component>
+  <component name="PhpServers">
+    <servers />
+  </component>
+  <component name="ProjectFrameBounds" extendedState="6">
+    <option name="x" value="245" />
+    <option name="y" value="53" />
+    <option name="width" value="1400" />
+    <option name="height" value="1000" />
+  </component>
+  <component name="ProjectView">
+    <navigator proportions="" version="1">
+      <foldersAlwaysOnTop value="true" />
+    </navigator>
+    <panes>
+      <pane id="Scope" />
+      <pane id="ProjectPane">
+        <subPane>
+          <expand>
+            <path>
+              <item name="chiffres" type="b2602c69:ProjectViewProjectNode" />
+              <item name="chiffres" type="462c0819:PsiDirectoryNode" />
+            </path>
+          </expand>
+          <select />
+        </subPane>
+      </pane>
+    </panes>
+  </component>
+  <component name="PropertiesComponent">
+    <property name="DefaultHtmlFileTemplate" value="HTML File" />
+    <property name="WebServerToolWindowFactoryState" value="false" />
+    <property name="com.intellij.ide.scratch.LRUPopupBuilder$1/New Scratch File" value="HTML" />
+    <property name="list.type.of.created.stylesheet" value="CSS" />
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
+    <property name="settings.editor.selected.configurable" value="preferences.pluginManager" />
+  </component>
+  <component name="RunDashboard">
+    <option name="ruleStates">
+      <list>
+        <RuleState>
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
+        </RuleState>
+        <RuleState>
+          <option name="name" value="StatusDashboardGroupingRule" />
+        </RuleState>
+      </list>
+    </option>
+  </component>
+  <component name="SvnConfiguration">
+    <configuration />
+  </component>
+  <component name="TaskManager">
+    <task active="true" id="Default" summary="Default task">
+      <changelist id="b4c47842-14f4-4f3c-986d-4f8f7cfbb6a2" name="Default Changelist" comment="" />
+      <created>1538554294488</created>
+      <option name="number" value="Default" />
+      <option name="presentableId" value="Default" />
+      <updated>1538554294488</updated>
+      <workItem from="1538554297299" duration="8674000" />
+      <workItem from="1538567311879" duration="14479000" />
+      <workItem from="1538985738672" duration="9294000" />
+      <workItem from="1538999159194" duration="15182000" />
+      <workItem from="1539072261462" duration="19045000" />
+    </task>
+    <servers />
+  </component>
+  <component name="TimeTrackingManager">
+    <option name="totallyTimeSpent" value="66674000" />
+  </component>
+  <component name="ToolWindowManager">
+    <frame x="-8" y="-8" width="1936" height="1056" extended-state="6" />
+    <layout>
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.18869936" />
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
+      <window_info id="Favorites" order="2" side_tool="true" />
+      <window_info anchor="bottom" id="Message" order="0" />
+      <window_info anchor="bottom" id="Find" order="1" />
+      <window_info anchor="bottom" id="Run" order="2" weight="0.329718" />
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
+      <window_info anchor="bottom" id="TODO" order="6" />
+      <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
+      <window_info anchor="bottom" id="Database Changes" order="8" show_stripe_button="false" />
+      <window_info anchor="bottom" id="Version Control" order="9" show_stripe_button="false" />
+      <window_info anchor="bottom" id="Terminal" order="10" weight="0.329718" />
+      <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" weight="0.329718" />
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
+      <window_info anchor="right" id="Database" order="3" />
+    </layout>
+  </component>
+  <component name="TypeScriptGeneratedFilesManager">
+    <option name="version" value="1" />
+  </component>
+  <component name="VcsContentAnnotationSettings">
+    <option name="myLimit" value="2678400000" />
+  </component>
+  <component name="editorHistoryManager">
+    <entry file="file://$APPLICATION_CONFIG_DIR$/scratches/scratch.html" />
+    <entry file="file://$PROJECT_DIR$/css/style.css" />
+    <entry file="file://$PROJECT_DIR$/sass/style.sass" />
+    <entry file="file://$PROJECT_DIR$/test.sass" />
+    <entry file="file://$PROJECT_DIR$/main.js" />
+    <entry file="file://$PROJECT_DIR$/index.html">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="714">
+          <caret line="42" column="4" lean-forward="true" selection-start-line="42" selection-start-column="4" selection-end-line="42" selection-end-column="4" />
+        </state>
+      </provider>
+    </entry>
+  </component>
+  <component name="masterDetails">
+    <states>
+      <state key="ScopeChooserConfigurable.UI">
+        <settings>
+          <splitter-proportions>
+            <option name="proportions">
+              <list>
+                <option value="0.2" />
+              </list>
+            </option>
+          </splitter-proportions>
+        </settings>
+      </state>
+    </states>
+  </component>
+</project>
\ No newline at end of file
diff --git a/chiffres/couleur 2.PNG b/chiffres/couleur 2.PNG
new file mode 100644 (file)
index 0000000..1594cc3
Binary files /dev/null and b/chiffres/couleur 2.PNG differ
diff --git a/chiffres/couleur.PNG b/chiffres/couleur.PNG
new file mode 100644 (file)
index 0000000..ba36785
Binary files /dev/null and b/chiffres/couleur.PNG differ
diff --git a/chiffres/countUp.min.js b/chiffres/countUp.min.js
new file mode 100644 (file)
index 0000000..c17c47b
--- /dev/null
@@ -0,0 +1 @@
+!function(a,n){"function"==typeof define&&define.amd?define(n):"object"==typeof exports?module.exports=n(require,exports,module):a.CountUp=n()}(this,function(a,n,t){return function(a,n,t,e,i,r){var u=this;if(u.version=function(){return"1.9.3"},u.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:function(a,n,t,e){return t*(1-Math.pow(2,-10*a/e))*1024/1023+n},formattingFn:function(a){var n,t,e,i,r,o,s=a<0;if(a=Math.abs(a).toFixed(u.decimals),n=(a+="").split("."),t=n[0],e=1<n.length?u.options.decimal+n[1]:"",u.options.useGrouping){for(i="",r=0,o=t.length;r<o;++r)0!==r&&r%3==0&&(i=u.options.separator+i),i=t[o-r-1]+i;t=i}return u.options.numerals.length&&(t=t.replace(/[0-9]/g,function(a){return u.options.numerals[+a]}),e=e.replace(/[0-9]/g,function(a){return u.options.numerals[+a]})),(s?"-":"")+u.options.prefix+t+e+u.options.suffix},prefix:"",suffix:"",numerals:[]},r&&"object"==typeof r)for(var o in u.options)r.hasOwnProperty(o)&&null!==r[o]&&(u.options[o]=r[o]);""===u.options.separator?u.options.useGrouping=!1:u.options.separator=""+u.options.separator;for(var s=0,l=["webkit","moz","ms","o"],m=0;m<l.length&&!window.requestAnimationFrame;++m)window.requestAnimationFrame=window[l[m]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[l[m]+"CancelAnimationFrame"]||window[l[m]+"CancelRequestAnimationFrame"];function d(a){return"number"==typeof a&&!isNaN(a)}window.requestAnimationFrame||(window.requestAnimationFrame=function(a,n){var t=(new Date).getTime(),e=Math.max(0,16-(t-s)),i=window.setTimeout(function(){a(t+e)},e);return s=t+e,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(a){clearTimeout(a)}),u.initialize=function(){return!!u.initialized||(u.error="",u.d="string"==typeof a?document.getElementById(a):a,u.d?(u.startVal=Number(n),u.endVal=Number(t),d(u.startVal)&&d(u.endVal)?(u.decimals=Math.max(0,e||0),u.dec=Math.pow(10,u.decimals),u.duration=1e3*Number(i)||2e3,u.countDown=u.startVal>u.endVal,u.frameVal=u.startVal,u.initialized=!0):(u.error="[CountUp] startVal ("+n+") or endVal ("+t+") is not a number",!1)):!(u.error="[CountUp] target is null or undefined"))},u.printValue=function(a){var n=u.options.formattingFn(a);"INPUT"===u.d.tagName?this.d.value=n:"text"===u.d.tagName||"tspan"===u.d.tagName?this.d.textContent=n:this.d.innerHTML=n},u.count=function(a){u.startTime||(u.startTime=a);var n=(u.timestamp=a)-u.startTime;u.remaining=u.duration-n,u.options.useEasing?u.countDown?u.frameVal=u.startVal-u.options.easingFn(n,0,u.startVal-u.endVal,u.duration):u.frameVal=u.options.easingFn(n,u.startVal,u.endVal-u.startVal,u.duration):u.countDown?u.frameVal=u.startVal-(u.startVal-u.endVal)*(n/u.duration):u.frameVal=u.startVal+(u.endVal-u.startVal)*(n/u.duration),u.countDown?u.frameVal=u.frameVal<u.endVal?u.endVal:u.frameVal:u.frameVal=u.frameVal>u.endVal?u.endVal:u.frameVal,u.frameVal=Math.round(u.frameVal*u.dec)/u.dec,u.printValue(u.frameVal),n<u.duration?u.rAF=requestAnimationFrame(u.count):u.callback&&u.callback()},u.start=function(a){u.initialize()&&(u.callback=a,u.rAF=requestAnimationFrame(u.count))},u.pauseResume=function(){u.paused?(u.paused=!1,delete u.startTime,u.duration=u.remaining,u.startVal=u.frameVal,requestAnimationFrame(u.count)):(u.paused=!0,cancelAnimationFrame(u.rAF))},u.reset=function(){u.paused=!1,delete u.startTime,u.initialized=!1,u.initialize()&&(cancelAnimationFrame(u.rAF),u.printValue(u.startVal))},u.update=function(a){u.initialize()&&(d(a=Number(a))?(u.error="",a!==u.frameVal&&(cancelAnimationFrame(u.rAF),u.paused=!1,delete u.startTime,u.startVal=u.frameVal,u.endVal=a,u.countDown=u.startVal>u.endVal,u.rAF=requestAnimationFrame(u.count))):u.error="[CountUp] update() - new endVal is not a number: "+a)},u.initialize()&&u.printValue(u.startVal)}});
\ No newline at end of file
diff --git a/chiffres/font.woff b/chiffres/font.woff
new file mode 100644 (file)
index 0000000..8a054ad
Binary files /dev/null and b/chiffres/font.woff differ
diff --git a/chiffres/index.html b/chiffres/index.html
new file mode 100644 (file)
index 0000000..4ee9502
--- /dev/null
@@ -0,0 +1,131 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <script>
+        /* VARIABLES À MODIFIER */
+
+        var couleur = "#222221"; // Couleur de la typo
+
+        var delay = 4; // Délai avant de démarrer l'animation
+
+        var value = 6;  // Valeur à afficher
+
+        var startvalue = 0; // Valeur de départ
+
+        var decimalnumber = 0; // Nombre de décimal
+
+        var separatordecimal = ','; // séparateur de décimales
+
+        var animationtime = 4; // durée de l'animation
+
+        var alignement = "left"; // permet de définir l'alignement du texte, 3 valeurs possible : left, right, center
+
+        var letterspace = "-2px"; // Définit l'espace entre les lettres
+
+        var BackgroundColor = "white"; // Définit la couleur du fond
+
+        /* FIN DES VARIABLES À MODIFIER */
+    </script>
+    <meta charset="UTF-8">
+</head>
+<body id="body">
+<span id="number"></span>
+
+<script src="countUp.min.js"></script>
+
+<script>
+
+    var id = document.getElementById("number");
+        resize();
+    var hidden = 0;
+    var visible = 1;
+    var dureeOpacite = delay * 1000;
+    
+    if (delay > 0){
+        id.style.opacity = hidden;
+        setTimeout(function () {
+            id.style.opacity = visible;
+        },dureeOpacite );
+    }
+
+    id.style.color = couleur;
+    id.style.textAlign = alignement;
+    id.style.letterSpacing = letterspace;
+    document.getElementById("body").style.backgroundColor = BackgroundColor;
+
+    var transformOrigin;
+    if (alignement === "right") {
+        transformOrigin = "100% 0%";
+    }
+    else if (alignement === "left") {
+        transformOrigin = "0% 0%";
+    }
+    else if (alignement === "center") {
+        transformOrigin = "50% 0%";
+    }
+
+    id.style.transformOrigin = transformOrigin;
+
+    window.addEventListener('resize', function () {
+        resize();
+    }, true);
+
+
+    var options = {
+        useEasing: true,
+        useGrouping: true,
+        separator: separatordecimal,
+        decimal: '.'
+    };
+
+    var demo = new CountUp('number', startvalue, value, decimalnumber, animationtime, alignement, transformOrigin, letterspace, BackgroundColor, options);
+
+    if (!demo.error) {
+        run();
+    }
+    else {
+        console.error(demo.error);
+    }
+
+    function resize() {
+        var Hauteur = window.innerHeight;
+        var HauteurElem = 100;
+        var ScaleValue = Hauteur / HauteurElem;
+
+        id.style.transform = ("scale(" + ScaleValue + ")");
+    }
+
+    function run() {
+        setTimeout(function () {
+            demo.start();
+            resize();
+        }, delay * 1000);
+    }
+
+</script>
+<style>
+
+    @font-face {
+        font-family: "typo" ;
+        src: url("font.woff") format('woff');
+    }
+
+    #number {
+        display: block;
+        transform-origin: 0 0;
+        line-height: 1;
+        font-size: 100px;
+        font-family: "typo";
+
+    }
+
+    body {
+        overflow: hidden;
+    }
+    *{
+        padding: 0;
+        margin: 0;
+    }
+</style>
+</body>
+</html>
\ No newline at end of file
diff --git a/chiffres/typo.png b/chiffres/typo.png
new file mode 100644 (file)
index 0000000..d907dc6
Binary files /dev/null and b/chiffres/typo.png differ
diff --git a/chiffres/valeurs.PNG b/chiffres/valeurs.PNG
new file mode 100644 (file)
index 0000000..8ea3d74
Binary files /dev/null and b/chiffres/valeurs.PNG differ